[LLVMdev] collect end line number for scope
godepankaj at yahoo.com
Tue Oct 4 04:32:37 PDT 2011
My problem definition is to collect "end line" for each scope (i.e. start and end line for a scope). I need to dump this information while emitting target code for an architecture. Though I understand that scoping details are not modeled in LLVM. Reference: http://llvm.org/docs/SourceLevelDebugging.html#format_common_lifetime
There are 2 classes I am referring, viz, DIScope and DbgScope.
I am also not sure on the approach.
From: Alex <xtzgzorex at gmail.com>
To: Pankaj Gode <godepankaj at yahoo.com>
Cc: Eric Christopher <echristo at apple.com>; "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
Sent: Tuesday, October 4, 2011 3:42 PM
Subject: Re: [LLVMdev] collect end line number for scope
He is referring to current SVN head.
On Tue, Oct 4, 2011 at 12:08 PM, Pankaj Gode <godepankaj at yahoo.com> wrote:
> What do you mean by "current top of tree"?
> From: Eric Christopher <echristo at apple.com>
> To: Pankaj Gode <godepankaj at yahoo.com>
> Cc: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
> Sent: Monday, October 3, 2011 10:32 PM
> Subject: Re: [LLVMdev] collect end line number for scope
> On Oct 3, 2011, at 4:36 AM, Pankaj Gode wrote:
> For the above code, i want to collect endline (indicated by <---) for the
> scope. Can we get this information from the Dwarf Information in llvm 2.9 ?
> I don't know about 2.9 in specific, but current top of tree will get you
> that information.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev