Recommit r239721: Replace string GNU Triples with llvm::Triple in InitMCObjectFileInf...
[oota-llvm.git] / tools / llvm-mc / llvm-mc.cpp
index d53596ea57ee3df80a2221ac24d7691a8e477399..ef728f3095ea664a5e968e9b31e75868b7fbbc2e 100644 (file)
@@ -431,7 +431,7 @@ int main(int argc, char **argv) {
   // MCObjectFileInfo needs a MCContext reference in order to initialize itself.
   MCObjectFileInfo MOFI;
   MCContext Ctx(MAI.get(), MRI.get(), &MOFI, &SrcMgr);
-  MOFI.InitMCObjectFileInfo(TripleName, RelocModel, CMModel, Ctx);
+  MOFI.InitMCObjectFileInfo(TheTriple, RelocModel, CMModel, Ctx);
 
   if (SaveTempLabels)
     Ctx.setAllowTemporaryLabels(false);