projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ebc084
)
Correct this error message, and most importantly make it distinct from the
author
Nick Lewycky
<nicholas@mxc.ca>
Sun, 10 Mar 2013 22:01:44 +0000
(22:01 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Sun, 10 Mar 2013 22:01:44 +0000
(22:01 +0000)
error above. Based on a patch by Peter Zotov!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176794
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetMachineC.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetMachineC.cpp
b/lib/Target/TargetMachineC.cpp
index 1e4c195b0f344474e18f9bc4dfa1f123b50cc8aa..79f74bd66127a8b6396814325b21a761dc9d4409 100644
(file)
--- a/
lib/Target/TargetMachineC.cpp
+++ b/
lib/Target/TargetMachineC.cpp
@@
-184,7
+184,7
@@
LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M,
}
if (TM->addPassesToEmitFile(pass, destf, ft)) {
- error = "
No DataLayout in TargetMachin
e";
+ error = "
TargetMachine can't emit a file of this typ
e";
*ErrorMessage = strdup(error.c_str());
return true;
}