<br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 4:22 AM, Bill Wendling <span dir="ltr"><<a href="mailto:wendling@apple.com" target="_blank">wendling@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="im">On Jun 27, 2012, at 4:20 PM, Eric Christopher wrote:<br>
<br>
><br>
> On Jun 27, 2012, at 4:08 PM, Bill Wendling <<a href="mailto:wendling@apple.com">wendling@apple.com</a>> wrote:<br>
><br>
>> Hi all,<br>
>><br>
>> This patch, though large, simply moves lib/Analysis/DebugInfo.cpp to lib/VMCore/DebugInfo.cpp and include/llvm/Analysis/DebugInfo.h to include/llvm/DebugInfo.h.<br>
>><br>
>> Why? Because this module has nothing to do with analysis. It simply defines an interface to the debug info MDNodes. In fact, the lib/VMCore/AsmWriter.cpp file performs a layering violation, because it calculates the DWARF tag from this debug info, which is more appropriately calculated via the debug info module. It could eventually allow us to use the debug info module's comment printer to generate fuller comments in the .ll file.<br>

>><br>
>> Okay to commit?<br>
>><br>
>> -bw<br>
>><br>
>> <clang-debuginfo.patch><debuginfo.patch><br>
><br>
> Sure, I'm ok with that.<br>
><br>
</div>Done. Thanks!<br></blockquote><div><br></div><div>Now include/llvm folder has the following files:</div><div>DebugInfo.h - describes debug info MDNodes</div><div>DebugInfo/DIContext.h - defines an abstract debug info context for fetching debug info from object files. It is currently used in llvm-dwarfdump and I hope to use it in llvm-based symbolizer.</div>
<div><br></div><div>Just wanted to ask if you're fine with this layout and don't find it confusing.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>