diff options
author | Dimitry Andric <dimitry@andric.com> | 2016-01-07 22:09:12 +0000 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2016-01-07 22:09:12 +0000 |
commit | 2c36421337b2c6963b0815180b8b636164f76258 (patch) | |
tree | 4a64ad1e6d81a173040022cbf8aa89da4f8b7333 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | f1a9c9e1482db1ad00cc52e7f939a9855868c4a2 (diff) | |
download | bcm5719-llvm-2c36421337b2c6963b0815180b8b636164f76258.tar.gz bcm5719-llvm-2c36421337b2c6963b0815180b8b636164f76258.zip |
Turn off lldb debug tuning by default for FreeBSD
Summary:
In rL242338, debugger tuning was introduced, and the tuning for FreeBSD
was set to lldb by default. However, for the foreseeable future we
still need to default to gdb tuning, since lldb is not ready for all of
FreeBSD's architectures, and some system tools (like objcopy, etc) have
not yet been adapted to cope with the lldb tuned format, which has
.apple sections.
Therefore, let FreeBSD use gdb by default for now.
Reviewers: emaste, probinson
Subscribers: llvm-commits, emaste
Differential Revision: http://reviews.llvm.org/D15966
llvm-svn: 257103
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index b8fec2bb704..a4fb07eacb3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -221,7 +221,7 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M) // precedence; fall back to triple-based defaults. if (Asm->TM.Options.DebuggerTuning != DebuggerKind::Default) DebuggerTuning = Asm->TM.Options.DebuggerTuning; - else if (IsDarwin || TT.isOSFreeBSD()) + else if (IsDarwin) DebuggerTuning = DebuggerKind::LLDB; else if (TT.isPS4CPU()) DebuggerTuning = DebuggerKind::SCE; |