summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-21 19:13:09 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-21 19:13:09 +0000
commit3825c08a609de48d5752e4d74e3c03cca651f894 (patch)
treeb59d8e65336215779148f896ef0328c186833415 /lib
parent75ece7a35589db00c103e7fbb09828b48904e682 (diff)
downloadllvm-3825c08a609de48d5752e4d74e3c03cca651f894.tar.gz
llvm-3825c08a609de48d5752e4d74e3c03cca651f894.tar.bz2
llvm-3825c08a609de48d5752e4d74e3c03cca651f894.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 9428fea7e1..05006b33bc 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/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());