From: David Blaikie Date: Tue, 11 Mar 2014 22:24:33 +0000 (+0000) Subject: DebugInfo: Remove unused labels now that we just emit DW_AT_gnu_pubnames as a flag... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=667376028fc44bbcd861e6a70ff0e04b29f177d1;p=oota-llvm.git DebugInfo: Remove unused labels now that we just emit DW_AT_gnu_pubnames as a flag (as of r203082) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203612 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 5c17417c51e..f4eb787adbf 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2213,10 +2213,6 @@ void DwarfDebug::emitDebugPubNames(bool GnuStyle) { // 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 GnuStyle) { // 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);