[LLVMdev] llvm-gcc

aparna kotha kotha.aparna at gmail.com
Fri Oct 30 10:55:12 PDT 2009


This is the name of a structure in the source code.


2009/10/30 Török Edwin <edwintorok at gmail.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091030/c122ca86/attachment.html>


More information about the llvm-dev mailing list