Hi,
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.
Regards,
Pankaj
________________________________
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
Hi,
He is referring to current SVN head.
Regards,
Alex
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"?
>
> Pankaj
> 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.
> -eric
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20111004/f91098fe/attachment.html>