projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f50854
)
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!
llvm-svn: 176794
llvm/lib/Target/TargetMachineC.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/TargetMachineC.cpp
b/llvm/lib/Target/TargetMachineC.cpp
index
1e4c195
..
79f74bd
100644
(file)
--- a/
llvm/lib/Target/TargetMachineC.cpp
+++ b/
llvm/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;
}