[LLVMdev] Geting the size of a structure?

Evan Jones ejones at uwaterloo.ca
Thu Apr 21 14:56:08 PDT 2005

How does LLVM-GCC emit the correct size for structures? Is structure
packing part of the  "platform specific" magic that GCC knows, or is
there some "portable" way to put a structure size into LLVM byte code?

Actually, I don't care if it is portable, as long as LLVM has some way
to compute it for me, and I don't have to know about the underlying


Evan Jones

More information about the llvm-dev mailing list