[LLVMdev] DIFactory

Devang Patel dpatel at apple.com
Mon Feb 21 10:17:49 PST 2011


On Feb 18, 2011, at 8:31 PM, Talin wrote:

> 2) There's no means to set TheCU other than creating a new compile unit. This means that you have to generate all of the debug info for your module with a single DIBuilder instance, since there's no way to use a pre-existing compile unit.

TheCU is an internal debug info information that FE should not care about. DIBuilder is meant to use for one translation unit by FE. If all the internal debug info information is exposed to FE then you'll get DIFactory.

-
Devang



More information about the llvm-dev mailing list