[LLVMdev] generating !llvm.dbg.sp
Bendersky, Eli
eli.bendersky at intel.com
Tue Feb 14 03:45:28 PST 2012
Eric, Devang,
FYI exactly the same applies for llvm.dbg.gv - it's also still listed in the docs and in various places throughout the code, although no longer generated.
Eli
From: Devang Patel [mailto:dpatel at apple.com]
Sent: Monday, February 13, 2012 19:26
To: Eric Christopher
Cc: Bendersky, Eli; llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] generating !llvm.dbg.sp
Thanks Eric. I know some of the references are in the code used for backward compatibility.
-
Devang
On Feb 13, 2012, at 9:21 AM, Eric Christopher <echristo at apple.com<mailto:echristo at apple.com>> wrote:
Thanks. I'll get them. :)
-eric
On Feb 13, 2012, at 1:41 AM, Bendersky, Eli wrote:
Thanks. Note that there are still a few references to this MDNode scattered throughout the code-base, so if it's no longer being generated, there may be some bugs lurking there.
Eli
From: Devang Patel [mailto:dpatel at apple.com]
Sent: Thursday, February 09, 2012 19:36
To: Bendersky, Eli
Cc: llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu>
Subject: Re: generating !llvm.dbg.sp
On Feb 9, 2012, at 7:17 AM, "Bendersky, Eli" <eli.bendersky at intel.com<mailto:eli.bendersky at intel.com>> wrote:
Hello,
According to the documentation here -http://llvm.org/docs/SourceLevelDebugging.html:
>> All subprogram descriptors are collected by a named metadata!llvm.dbg.sp.
LLVM seems to have lost the ability to generate this metadata node in r126871, when DIFactory was removed.
Is this an intended change?
Yes, I'll update the doc.
We were relying in the existence of this node, and things broke once we switched from LLVM 2.8 to 3.0.
Is there an alternative location where all the subprogram debug descriptors (DW_TAG_subprogram) can be obtained?
You can use DebugInfoFinder from DebugInfo.h. It provides an iterator to walk over all subprograms.
-
Devang
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies. _______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu<mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu<http://llvm.cs.uiuc.edu/>
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120214/5ba0482e/attachment.html>
More information about the llvm-dev
mailing list