[llvm] r201876 - DebugInfo: Remove the empty macinfo section.

Eric Christopher echristo at gmail.com
Fri Feb 21 11:26:30 PST 2014


Thanks Dave.
On Feb 21, 2014 1:22 PM, "David Blaikie" <dblaikie at gmail.com> wrote:

> Author: dblaikie
> Date: Fri Feb 21 13:13:09 2014
> New Revision: 201876
>
> URL: http://llvm.org/viewvc/llvm-project?rev=201876&view=rev
> Log:
> 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.
>
> Modified:
>     llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=201876&r1=201875&r2=201876&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Fri Feb 21 13:13:09
> 2014
> @@ -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());
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140221/2f0bddc5/attachment.html>


More information about the llvm-commits mailing list