[LLVMdev] llvm-gcc
Török Edwin
edwintorok at gmail.com
Fri Oct 30 10:48:32 PDT 2009
On 2009-10-30 19:41, aparna kotha wrote:
> We are trying to compile a .c file using llvm-gcc --emit-llvm .
>
> The produced output has a variable name different from its name in the
> .c file. We have tried it on different llvm-gcc versions and different
> optimization levels.
>
> Is there any reason that this happens.
Is it a static variable inside a function?
Also I don't think there is any guaranteee about LLVM variable name
mapping, you should look at llvm.dbg.variable to find out the original
variable name.
Best regards,
--Edwin
More information about the llvm-dev
mailing list