The code generator converts a local variable into FrameIndex. Is there anyway I can retrieve the symobl name of the local variable from FrameIndex? Thanks, Sanjiv -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080402/7dd64ca4/attachment.html>
It's not currently available. LLVM would have to propagate debug information through all codegen passes but it doesn't do that yet. Evan On Apr 1, 2008, at 11:02 PM, Sanjiv Gupta wrote:> The code generator converts a local variable into FrameIndex. Is > there anyway I can retrieve the symobl name of the local variable > from FrameIndex? > > Thanks, > Sanjiv > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Alireza.Moshtaghi at microchip.com
2008-Apr-02 20:33 UTC
[LLVMdev] Retrieving local variable names.
Is this something that will happen in future? Or there is no plan for it? Thanks, Ali -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Evan Cheng Sent: Wednesday, April 02, 2008 10:30 AM To: LLVM Developers Mailing List Subject: Re: [LLVMdev] Retrieving local variable names. It's not currently available. LLVM would have to propagate debug information through all codegen passes but it doesn't do that yet. Evan On Apr 1, 2008, at 11:02 PM, Sanjiv Gupta wrote:> The code generator converts a local variable into FrameIndex. Is > there anyway I can retrieve the symobl name of the local variable > from FrameIndex? > > Thanks, > Sanjiv > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev_______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev