fix pasto
authorChris Lattner <sabre@nondot.org>
Fri, 11 Sep 2009 18:33:44 +0000 (18:33 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Sep 2009 18:33:44 +0000 (18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81544 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp

index 2d0ec2e3f79ebfe446c3143e76a7620bcbfb801c..64d0315ba47a1993efac1a62c25b5665adf68ce3 100644 (file)
@@ -964,7 +964,7 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
       OutStreamer.SwitchSection(TheSection);
 
       std::vector<std::pair<MCSymbol*, MCSymbol*> > Stubs
-        = GetSortedStubs(FnStubs);
+        = GetSortedStubs(GVStubs);
       for (unsigned i = 0, e = Stubs.size(); i != e; ++i) {
         Stubs[i].first->print(O, MAI);
         O << ":\n\t.indirect_symbol ";
@@ -978,7 +978,7 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
       EmitAlignment(2);
 
       std::vector<std::pair<MCSymbol*, MCSymbol*> > Stubs
-        = GetSortedStubs(FnStubs);
+        = GetSortedStubs(HiddenGVStubs);
       for (unsigned i = 0, e = Stubs.size(); i != e; ++i) {
         Stubs[i].first->print(O, MAI);
         O << ":\n" << MAI->getData32bitsDirective();