From 43f557e26eb8c8172d640a1a7b500b94a8bb77f4 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Tue, 22 May 2018 17:36:04 +0100 Subject: [PATCH] Add the size field to the ivar structure. This was the last change made to the ABI before upstreaming the clang parts. --- ivar.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ivar.h b/ivar.h index 3145880..9f41af3 100644 --- a/ivar.h +++ b/ivar.h @@ -22,6 +22,10 @@ struct objc_ivar * offset from the object pointer. */ int *offset; + /** + * The size of this ivar. Note that the current ABI limits ivars to 4GB. + */ + uint32_t size; /** * Flags for this instance variable. */