r257104 - Turn off lldb debug tuning by default for FreeBSD
Dimitry Andric via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 7 14:09:48 PST 2016
Author: dim
Date: Thu Jan 7 16:09:47 2016
New Revision: 257104
URL: http://llvm.org/viewvc/llvm-project?rev=257104&view=rev
Log:
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
Modified:
cfe/trunk/lib/Driver/ToolChains.h
cfe/trunk/test/Driver/debug-options.c
Modified: cfe/trunk/lib/Driver/ToolChains.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.h?rev=257104&r1=257103&r2=257104&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.h (original)
+++ cfe/trunk/lib/Driver/ToolChains.h Thu Jan 7 16:09:47 2016
@@ -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;
Modified: cfe/trunk/test/Driver/debug-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/debug-options.c?rev=257104&r1=257103&r2=257104&view=diff
==============================================================================
--- cfe/trunk/test/Driver/debug-options.c (original)
+++ cfe/trunk/test/Driver/debug-options.c Thu Jan 7 16:09:47 2016
@@ -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.
More information about the cfe-commits
mailing list