[llvm-commits] [dragonegg] r101885 - /dragonegg/branches/release_27/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Tue Apr 20 00:34:44 PDT 2010
Author: baldrick
Date: Tue Apr 20 02:34:44 2010
New Revision: 101885
URL: http://llvm.org/viewvc/llvm-project?rev=101885&view=rev
Log:
Undo commit 100855, which is incompatible with llvm-2.7:
Fix build, due to llvm::llvm_report_error -> llvm::report_fatal_error
LLVM API change (commit 100709).
Modified:
dragonegg/branches/release_27/llvm-backend.cpp
Modified: dragonegg/branches/release_27/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/branches/release_27/llvm-backend.cpp?rev=101885&r1=101884&r2=101885&view=diff
==============================================================================
--- dragonegg/branches/release_27/llvm-backend.cpp (original)
+++ dragonegg/branches/release_27/llvm-backend.cpp Tue Apr 20 02:34:44 2010
@@ -495,7 +495,7 @@
const Target *TME =
TargetRegistry::lookupTarget(TargetTriple, Err);
if (!TME)
- report_fatal_error(Err);
+ llvm_report_error(Err);
// Figure out the subtarget feature string we pass to the target.
std::string FeatureStr;
@@ -556,7 +556,7 @@
Binary ? raw_fd_ostream::F_Binary : 0);
if (!Error.empty())
- report_fatal_error(Error);
+ llvm_report_error(Error);
FormattedOutStream.setStream(*OutStream,
formatted_raw_ostream::PRESERVE_STREAM);
More information about the llvm-commits
mailing list