[PATCH] Set a debugger "target" to guide DWARF choices

Adrian Prantl aprantl at apple.com
Mon Mar 23 15:15:51 PDT 2015


================
Comment at: lib/CodeGen/AsmPrinter/DwarfDebug.cpp:210
@@ +209,3 @@
+    bool IsPS4 = Triple(A->getTargetTriple()).isPS4CPU();
+    Asm->TM.Options.Debugger = IsPS4 ? DebuggerKind::SCE : DebuggerKind::GDB;
+  }
----------------
probinson wrote:
> Should this set LLDB for Darwin?  I wasn't sure.
Yes, recent versions of Darwin ship with LLDB as the system debugger.

http://reviews.llvm.org/D8506

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list