summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 5c17417c51e..f4eb787adbf 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud