Skip to content

Commit 2970ba0

Browse files
committed
Revert "LLVM 6+: Default to Dwarf debuginfos v3"
This reverts commit 18cf419.
1 parent 1f42d2c commit 2970ba0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

driver/targetmachine.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -462,12 +462,6 @@ createTargetMachine(const std::string targetTriple, const std::string arch,
462462
if (targetOptions.MCOptions.ABIName.empty())
463463
targetOptions.MCOptions.ABIName = getABI(triple);
464464

465-
#if LDC_LLVM_VER >= 600
466-
// druntime isn't ready for Dwarf v4+ debuginfos (e.g., in rt.backtrace.dwarf).
467-
if (targetOptions.MCOptions.DwarfVersion == 0)
468-
targetOptions.MCOptions.DwarfVersion = 3;
469-
#endif
470-
471465
if (floatABI == FloatABI::Default) {
472466
switch (triple.getArch()) {
473467
default: // X86, ...

0 commit comments

Comments
 (0)