mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
As a quick fix, import r257103 from upstream llvm trunk, and r257104
from upstream clang trunk, which sets the default debug tuning back to gdb. The lldb debug tuning is not yet grokked completely by our ELF manipulation tools.
This commit is contained in:
parent
67e3484f3d
commit
7d04351452
2 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue