[LLVMdev] RFC: Mangling Unnamed Global Values

Chris Lattner clattner at apple.com
Mon Nov 24 11:07:20 PST 2008

On Nov 24, 2008, at 11:01 AM, Bill Wendling wrote:

> The symbols I'm interested in already have internal linkage (as you
> would expect). But because the mangler is in charge of assigning them
> names, they never seem to be decorated with the 'L' in front. . . .

If you use SET_DECL_ASSEMBLER_NAME (something like that) you can  
specify the full name for this stuff, including the L.  This is how  
other Objc metadata works.


More information about the llvm-dev mailing list