Unpacked Structures within Packed Structures

Dear LLVMers,

I have a question on packed structures in LLVM 2.6.

Is it possible to place an unpacked structure type as a member within a packed structure type? What I want to do is to have the fields of an inner structure padded per the ABI but have the elements of the outer structure packed.

Thanks in advance.

-- John T.

Yep, that should work fine. One issue to watch out for is that the elements of the non-packed struct may not be properly aligned if the entire thing is off.

-Chris