<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 7:40 AM, Ed Maste <span dir="ltr"><<a href="mailto:emaste@freebsd.org" target="_blank">emaste@freebsd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">================<br>
Comment at: lib/CodeGen/AsmPrinter/DwarfDebug.cpp:213<br>
@@ +212,3 @@<br>
<span class="">+ if (Asm->TM.Options.DebuggerTuning == DebuggerKind::Default) {<br>
+ if (IsDarwin)<br>
+ Asm->TM.Options.DebuggerTuning = DebuggerKind::LLDB;<br>
</span>----------------<br>
Note that on FreeBSD as on Darwin we set `-fstandalone-debug` by default.<br></blockquote><div><br>On Darwin this is for two reasons:<br><br>1) LLDB is the default debugger & can't cope with this debug info<br>2) Apple ships a device driver API without debug info - that API includes a base class that drivers will derive from. The base class's debug info is missing in this situation.<br><br>What's the motivation on FreeBSD? Is LLDB the default debugger there, or do you have an API issue like (2) above? Or something else?<br><br>(considered fixing LLDB?)<br> </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>
<a href="http://reviews.llvm.org/D8506" target="_blank">http://reviews.llvm.org/D8506</a><br>
<br>
EMAIL PREFERENCES<br>
<a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</div></div></blockquote></div><br></div></div>