[LLVMdev] RFC: Mangling Unnamed Global Values

Devang Patel dpatel at apple.com
Mon Nov 24 11:14:41 PST 2008

On Nov 24, 2008, at 11:07 AM, Chris Lattner wrote:

> 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.

Yup.  see start_var_decl() in objc-act.c and its uses of  

More information about the llvm-dev mailing list