[LLVMdev] Union type, is it really used or necessary?

David Given dg at cowlark.com
Wed Sep 8 05:18:15 PDT 2010


On 08/09/10 12:36, Jonas Maebe wrote:
[...]
>> Surely LLVM will cause the first structure to be correctly aligned on
>> 64-bit platforms by automatically inserting padding?
> 
> No, because it is declared as "packed" (the angle brackets).

Ah, I wasn't aware of that. Ta.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100908/0eca1d59/attachment.sig>


More information about the llvm-dev mailing list