Sure. My own compiler doesn't even use it at the moment (I had to rewrite the code generator, and the new version doesn't yet support debug info.)<br><br><div class="gmail_quote">On Wed, Jan 7, 2009 at 1:53 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 style="word-wrap:break-word"><br><div><div>On Jan 7, 2009, at 1:48 PM, Talin wrote:</div><br><blockquote type="cite">
Fine by me :)</blockquote><div><br></div>Is it ok to remove DebugInfoBuilder now? I don't think that anything in the tree is using it, what do you think Talin?</div><div><br></div><font color="#888888"><div>-Chris</div>
</font><div><div></div><div class="Wj3C7c"><div><br><blockquote type="cite"><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" target="_blank">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><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" target="_blank">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> _______________________________________________<br>
LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">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></div></div></div><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- Talin<br>