summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2016-01-07 22:09:47 +0000
committerDimitry Andric <dimitry@andric.com>2016-01-07 22:09:47 +0000
commit72132002314240b320c8ba3f4a04921cb87dce77 (patch)
tree4f7bbeb361bfa504fe999aafba1654ac264cdd89
parent2c36421337b2c6963b0815180b8b636164f76258 (diff)
downloadbcm5719-llvm-72132002314240b320c8ba3f4a04921cb87dce77.tar.gz
bcm5719-llvm-72132002314240b320c8ba3f4a04921cb87dce77.zip
Turn off lldb debug tuning by default for FreeBSD
Summary: This is the clang part of D15966. In rL256104, debugger tuning was added to the clang driver, and again the default for FreeBSD was set to lldb. The default needs to be gdb instead. Reviewers: emaste, probinson Subscribers: cfe-commits, emaste Differential Revision: http://reviews.llvm.org/D15967 llvm-svn: 257104
-rw-r--r--clang/lib/Driver/ToolChains.h3
-rw-r--r--clang/test/Driver/debug-options.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h
index f4b6b1529b3..b6fd42696ed 100644
--- a/clang/lib/Driver/ToolChains.h
+++ b/clang/lib/Driver/ToolChains.h
@@ -730,9 +730,6 @@ public:
// Until dtrace (via CTF) and LLDB can deal with distributed debug info,
// FreeBSD defaults to standalone/full debug info.
bool GetDefaultStandaloneDebug() const override { return true; }
- llvm::DebuggerKind getDefaultDebuggerTuning() const override {
- return llvm::DebuggerKind::LLDB;
- }
protected:
Tool *buildAssembler() const override;
diff --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c
index 72d0136a8c4..0ccacd0fc6c 100644
--- a/clang/test/Driver/debug-options.c
+++ b/clang/test/Driver/debug-options.c
@@ -32,7 +32,7 @@
// RUN: | FileCheck -check-prefix=G_DARWIN %s
// RUN: %clang -### -c -g %s -target x86_64-pc-freebsd10.0 2>&1 \
-// RUN: | FileCheck -check-prefix=G_LLDB %s
+// RUN: | FileCheck -check-prefix=G_GDB %s
// On the PS4, -g defaults to -gno-column-info, and we always generate the
// arange section.
OpenPOWER on IntegriCloud