Straighten out any triple strings passed on the command line before
[oota-llvm.git] / tools / llvm-mc / llvm-mc.cpp
index 77d5a315182b97d403dd41517142866c2eff1366..0cc9689e7c9d301ad7c7ff4eb97e5ba401ea0dc9 100644 (file)
@@ -390,6 +390,7 @@ int main(int argc, char **argv) {
   llvm::InitializeAllDisassemblers();
   
   cl::ParseCommandLineOptions(argc, argv, "llvm machine code playground\n");
+  TripleName = Triple::normalize(TripleName);
 
   switch (Action) {
   default: