mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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
This commit is contained in:
parent
75ece7a355
commit
3825c08a60
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user