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);