diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-09-04 04:39:38 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-09-04 04:39:38 +0000 |
commit | c89466fc22426c49f32c0f82c78f371e3e1e7419 (patch) | |
tree | 30470de820e8cb7b2b466ac217717bd76708e8e3 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | a318370b8d62da898f4d1d80fc66f3b2f07999ba (diff) | |
download | bcm5719-llvm-c89466fc22426c49f32c0f82c78f371e3e1e7419.tar.gz bcm5719-llvm-c89466fc22426c49f32c0f82c78f371e3e1e7419.zip |
Revert "Revert "Remove the darwin gdb option, that version of gdb is now dead and the rest of the compatibility should be done on a dwarf-N level.""
This reverts commit r189913.
Talked with Eric on IRC. I am going to XFAIL the failing test since it
is using what Eric described as "the member hack" which was needed on
that old GDB.
Sorry for the noise!
llvm-svn: 189914
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index ce684ffe80a..3e1877dc951 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -85,14 +85,6 @@ DwarfAccelTables("dwarf-accel-tables", cl::Hidden, cl::init(Default)); static cl::opt<DefaultOnOff> -DarwinGDBCompat("darwin-gdb-compat", cl::Hidden, - cl::desc("Compatibility with Darwin gdb."), - cl::values(clEnumVal(Default, "Default for platform"), - clEnumVal(Enable, "Enabled"), - clEnumVal(Disable, "Disabled"), clEnumValEnd), - cl::init(Default)); - -static cl::opt<DefaultOnOff> SplitDwarf("split-dwarf", cl::Hidden, cl::desc("Output prototype dwarf split debug info."), cl::values(clEnumVal(Default, "Default for platform"), @@ -206,11 +198,6 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M) // and handle split dwarf. bool IsDarwin = Triple(A->getTargetTriple()).isOSDarwin(); - if (DarwinGDBCompat == Default) - IsDarwinGDBCompat = IsDarwin; - else - IsDarwinGDBCompat = DarwinGDBCompat == Enable; - if (DwarfAccelTables == Default) HasDwarfAccelTables = IsDarwin; else @@ -1898,10 +1885,10 @@ void DwarfDebug::emitSectionLabels() { DwarfLineSectionSym = emitSectionSym(Asm, TLOF.getDwarfLineSection(), "section_line"); emitSectionSym(Asm, TLOF.getDwarfLocSection()); - if (HasDwarfPubSections) + if (HasDwarfPubSections) { emitSectionSym(Asm, TLOF.getDwarfPubNamesSection()); - if (useDarwinGDBCompat() || HasDwarfPubSections) emitSectionSym(Asm, TLOF.getDwarfPubTypesSection()); + } DwarfStrSectionSym = emitSectionSym(Asm, TLOF.getDwarfStrSection(), "info_string"); if (useSplitDwarf()) { |