llvm_report_error already prints "LLVM ERROR:". So stop reporting errors like "LLVM ERROR: llvm: error:" or "LLVM ERROR: ERROR:".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77971 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2009-08-03 13:33:33 +00:00
parent 0144280cfb
commit d5fe92efbc
5 changed files with 9 additions and 10 deletions

View File

@ -112,7 +112,7 @@ public:
/// @note This has to exist, because this is a pass, but it should never be
/// used.
TargetData() : ImmutablePass(&ID) {
llvm_report_error("ERROR: Bad TargetData ctor used. "
llvm_report_error("Bad TargetData ctor used. "
"Tool did not specify a TargetData to use?");
}