Hexagon: Disable DwarfUsesInlineInfoSection flag.
[oota-llvm.git] / lib / Target / TargetMachineC.cpp
index 1e4c195b0f344474e18f9bc4dfa1f123b50cc8aa..79f74bd66127a8b6396814325b21a761dc9d4409 100644 (file)
@@ -184,7 +184,7 @@ LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M,
   }
 
   if (TM->addPassesToEmitFile(pass, destf, ft)) {
-    error = "No DataLayout in TargetMachine";
+    error = "TargetMachine can't emit a file of this type";
     *ErrorMessage = strdup(error.c_str());
     return true;
   }