Fine by me :)<br><br><div class="gmail_quote">On Wed, Jan 7, 2009 at 1:35 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d"><br>
On Jan 7, 2009, at 3:22 AM, Patrick Boettcher wrote:<br>
<br>
> Hi list,<br>
> hi Talin,<br>
><br>
> I'm working on a frontend to generate IR using the IRBuilder from<br>
> LLVM.<br>
><br>
> Now I want to add source-level-debuginfo and for that I would like<br>
> to use the<br>
> DebugInfoBuilder as it is taking some of the burderns. Unfortunately<br>
> it does<br>
> not take all of them, yet.<br>
<br>
</div>Instead of DebugInfoBuilder, I'd strongly recommend taking a look at<br>
include/llvm/Analysis/DebugInfo.h. This is the interface that llvm-<br>
gcc and clang both use to produce debug info. If it's ok with Talin,<br>
I'd like to eventually remove DebugInfoBuilder. Analysis/DebugInfo.h<br>
provides a nice and efficient API for both creating and reading debug<br>
info, and abstracts the clients from the actual form (e.g. serialized<br>
into GlobalVariables) that the debug info takes.<br>
<br>
-Chris<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- Talin<br>