[llvm] r203612 - DebugInfo: Remove unused labels now that we just emit DW_AT_gnu_pubnames as a flag (as of r203082)

David Blaikie dblaikie at gmail.com
Tue Mar 11 15:24:33 PDT 2014


Author: dblaikie
Date: Tue Mar 11 17:24:33 2014
New Revision: 203612

URL: http://llvm.org/viewvc/llvm-project?rev=203612&view=rev
Log:
DebugInfo: Remove unused labels now that we just emit DW_AT_gnu_pubnames as a flag (as of r203082)

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=203612&r1=203611&r2=203612&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Mar 11 17:24:33 2014
@@ -2213,10 +2213,6 @@ void DwarfDebug::emitDebugPubNames(bool
     // Start the dwarf pubnames section.
     Asm->OutStreamer.SwitchSection(PSec);
 
-    // Emit a label so we can reference the beginning of this pubname section.
-    if (GnuStyle)
-      Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("gnu_pubnames", ID));
-
     // Emit the header.
     Asm->OutStreamer.AddComment("Length of Public Names Info");
     MCSymbol *BeginLabel = Asm->GetTempSymbol("pubnames_begin", ID);
@@ -2274,10 +2270,6 @@ void DwarfDebug::emitDebugPubTypes(bool
     // Start the dwarf pubtypes section.
     Asm->OutStreamer.SwitchSection(PSec);
 
-    // Emit a label so we can reference the beginning of this pubtype section.
-    if (GnuStyle)
-      Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("gnu_pubtypes", ID));
-
     // Emit the header.
     Asm->OutStreamer.AddComment("Length of Public Types Info");
     MCSymbol *BeginLabel = Asm->GetTempSymbol("pubtypes_begin", ID);





More information about the llvm-commits mailing list