diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-02-21 19:13:09 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-02-21 19:13:09 +0000 |
| commit | 6542d16b13610d8dd747cdc903daf1a4538010db (patch) | |
| tree | c154b5cff078812eacdaf40f9504086af26cdbbe /llvm/lib/CodeGen/AsmPrinter | |
| parent | 700e5085eb5b86e4b38bde9341042c2da2f4b485 (diff) | |
| download | bcm5719-llvm-6542d16b13610d8dd747cdc903daf1a4538010db.tar.gz bcm5719-llvm-6542d16b13610d8dd747cdc903daf1a4538010db.zip | |
DebugInfo: Remove the empty macinfo section.
We were just emitting a label for this section for no real reason - this
caused us to emit the section even though we never put anything in it.
Not bothering with a test (though not adamantly anti-test) because it
seems somewhat arbitrary to test for the absence of this section anymore
than the absence of any other section.
llvm-svn: 201876
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 9428fea7e14..05006b33bc3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1942,9 +1942,6 @@ void DwarfDebug::emitSectionLabels() { Asm, TLOF.getDwarfAbbrevDWOSection(), "section_abbrev_dwo"); emitSectionSym(Asm, TLOF.getDwarfARangesSection()); - if (const MCSection *MacroInfo = TLOF.getDwarfMacroInfoSection()) - emitSectionSym(Asm, MacroInfo); - DwarfLineSectionSym = emitSectionSym(Asm, TLOF.getDwarfLineSection(), "section_line"); emitSectionSym(Asm, TLOF.getDwarfLocSection()); |

