[cfe-dev] how to mapping from struct index to name

Jochen Wilhelmy j.wilhelmy at arcor.de
Thu Apr 29 06:04:34 PDT 2010


Hi!


> Why do you want to do this? Are you prepared to handle bit-fields?
>    
bit-fields will not appear in my input code.
If llvm ir accesses a field (only bool, int or float) i want to find out 
the field name.
But seems i can copy the implementation of CodeGeneratorImpl in 
ModuleBuilder.cpp
and then access the CodeGenTypes.

-Jochen




More information about the cfe-dev mailing list