[LLVMdev] Associating types directly with debug metadata?

Devang Patel dpatel at apple.com
Thu Sep 30 10:15:48 PDT 2010


On Sep 29, 2010, at 12:13 PM, Pekka Nikander wrote:

>>> Then the type would probably need to be added to a new named metadata tag as well, maybe !llvm.dbg.ty?
>> 
>> This is a preferred way to do. BTW, I used llvm.dbg.ty name so it is a good idea to pick up some name that also conveys your use of this association.
> 
> Would !llvm.dbg.types be appropriate?  Are there naming conventions here?

There are not any strict conventions. We generally use llvm.dbg.<blah> for debug info needs. "llvm." prefix should be reserved for uses that are actually in mainline llvm sources.

-
Devang



More information about the llvm-dev mailing list