On May 8, 2010, at 2:20 AM, Erick Tryzelaar wrote: > Hello! You can do this: > > http://nondot.org/sabre/LLVMNotes/SizeOf-OffsetOf-VariableSizedStructs.txt Also, the ConstantExpr class has getSizeOf, getOffsetOf, and getAlignOf utility functions which make this easy. Dan