Make this compile again.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 31 Oct 2006 01:45:56 +0000 (01:45 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 31 Oct 2006 01:45:56 +0000 (01:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31304 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86AsmPrinter.cpp

index 9ef0ad1027e742795c685b6bd25a3b53b5b0833a..f27f44053bbc4b2ef99d7616f420854c0d1c41cf 100644 (file)
@@ -229,7 +229,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
             SectionName += ",\"aw\",@progbits";
           }
 
-          SwitchToDataSection(SectionName.c_str());
+          SwitchToDataSection(SectionName.c_str(), I);
         } else {
           SwitchToDataSection(TAI->getDataSection(), I);
         }