[LLVMdev] DIFactory

Renato Golin rengolin at systemcall.org
Wed Jul 14 08:34:54 PDT 2010

Hi All,

Is there any documentation on how to use DIFactory to generate basic debug info?

It seems similar enough to IRBuilder but working with objects (rather
than pointers) and that's raising some issues.

Also, am I supposed to run the ModuleDebugInfoPrinterPass manually, or
it gets printed automatically when I WriteBitcodeToFile?



Reclaim your digital rights, eliminate DRM, learn more at

More information about the llvm-dev mailing list