[PATCH] Write references to Native format in NativeReferenceIvarsV2.

Rui Ueyama ruiu at google.com
Mon Nov 18 13:11:33 PST 2013


On Mon, Nov 18, 2013 at 1:05 PM, kledzik at apple.com <kledzik at apple.com>wrote:

>
>   Beside compatibility with existing files (which we don't have yet),
> there is another reason for V1 vs V2: size.  The NativeReferenceIvar is
> twice the size (8 bytes vs 4 bytes).  There will be a lot of these in
> files.  We should have both structs.  When a native object file is written,
> the Writer should see if everything is small enough that just
> NativeReferenceIvarsV1 structs can be used.  If not, it uses
> NativeReferenceIvarsV2. The Reader should always handle both.
>

Then we should name NativeReferenceIvars16 and NativeReferenceIvars64
because V2 is not really a newer version of V1.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131118/bd945abc/attachment.html>


More information about the llvm-commits mailing list