summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-08-03 13:33:33 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-08-03 13:33:33 +0000
commitc28b306423be0e7b29ad1050ed5ecb308f39b487 (patch)
tree230dba12021a326dc3a27605ab7cbe5ad5badf3f /llvm/lib/ExecutionEngine
parent76df43c08bb18c58515d8420066a3a258c7e4805 (diff)
downloadbcm5719-llvm-c28b306423be0e7b29ad1050ed5ecb308f39b487.tar.gz
bcm5719-llvm-c28b306423be0e7b29ad1050ed5ecb308f39b487.zip
llvm_report_error already prints "LLVM ERROR:". So stop reporting errors like "LLVM ERROR: llvm: error:" or "LLVM ERROR: ERROR:".
llvm-svn: 77971
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2
-rw-r--r--llvm/lib/ExecutionEngine/JIT/Intercept.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index b351ba25c54..8d21d1f40b5 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -644,7 +644,7 @@ void Interpreter::visitUnwindInst(UnwindInst &I) {
}
void Interpreter::visitUnreachableInst(UnreachableInst &I) {
- llvm_report_error("ERROR: Program executed an 'unreachable' instruction!");
+ llvm_report_error("Program executed an 'unreachable' instruction!");
}
void Interpreter::visitBranchInst(BranchInst &I) {
diff --git a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
index feb13c6ce15..0dde845559e 100644
--- a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
@@ -141,7 +141,7 @@ void *JIT::getPointerToNamedFunction(const std::string &Name,
return RP;
if (AbortOnFailure) {
- llvm_report_error("ERROR: Program used external function '"+Name+
+ llvm_report_error("Program used external function '"+Name+
"' which could not be resolved!");
}
return 0;
OpenPOWER on IntegriCloud