Fix build.
[oota-llvm.git] / lib / Target / TargetData.cpp
index 643b3977461b3bccdd174d7053e5d7f4dcc65ada..abee2e192446c0073f2e5215ee2910209a7cf1bd 100644 (file)
@@ -228,7 +228,7 @@ void TargetData::init(StringRef Desc) {
 /// @note This has to exist, because this is a pass, but it should never be
 /// used.
 TargetData::TargetData() : ImmutablePass(&ID) {
-  llvm_report_error("Bad TargetData ctor used.  "
+  report_fatal_error("Bad TargetData ctor used.  "
                     "Tool did not specify a TargetData to use?");
 }