[LLVMdev] Structure declaration with IR builder

Manuele Conti manuele.conti at sirius-es.it
Wed Jan 30 23:48:59 PST 2013


Hi All,
I tryed to create a global structured derived declaration in my compiler by:
StructType *st = StructType(getGlobalContext(),  elements, false);

In dump module i didn't find any code needed to declare a new user data 
type.

Is there a instruction to add this class into current module?


Cheers,
Manuele



More information about the llvm-dev mailing list