Fix cut and paste typo.
authorEric Christopher <echristo@gmail.com>
Thu, 3 Oct 2013 17:41:16 +0000 (17:41 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 3 Oct 2013 17:41:16 +0000 (17:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191914 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index b8fa9743ab8ac4bfbe975fff6504bed28f8459e5..2acbaf763185340d2c418687ae222037a76a0f71 100644 (file)
@@ -796,7 +796,7 @@ CompileUnit *DwarfDebug::constructCompileUnit(const MDNode *N) {
                                            NewCU->getUniqueID()));
       else
         NewCU->addDelta(Die, dwarf::DW_AT_GNU_pubtypes, dwarf::DW_FORM_data4,
-                        Asm->GetTempSymbol("gnu_pubnames",
+                        Asm->GetTempSymbol("gnu_pubtypes",
                                            NewCU->getUniqueID()),
                         DwarfGnuPubTypesSectionSym);
     }
@@ -2988,7 +2988,7 @@ CompileUnit *DwarfDebug::constructSkeletonCU(const CompileUnit *CU) {
                       Asm->GetTempSymbol("gnu_pubtypes", NewCU->getUniqueID()));
     else
       NewCU->addDelta(Die, dwarf::DW_AT_GNU_pubtypes, dwarf::DW_FORM_data4,
-                      Asm->GetTempSymbol("gnu_pubnames", NewCU->getUniqueID()),
+                      Asm->GetTempSymbol("gnu_pubtypes", NewCU->getUniqueID()),
                       DwarfGnuPubTypesSectionSym);
   }