From 2104b8d36e10b07ee396dba0a6ce58e621ef88c9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 7 Apr 2010 22:58:41 +0000 Subject: rename llvm::llvm_report_error -> llvm::report_fatal_error llvm-svn: 100709 --- llvm/lib/VMCore/PassManager.cpp | 2 +- llvm/lib/VMCore/Verifier.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/VMCore') diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp index d496bf73fa9..003ff59ecba 100644 --- a/llvm/lib/VMCore/PassManager.cpp +++ b/llvm/lib/VMCore/PassManager.cpp @@ -1294,7 +1294,7 @@ bool FunctionPassManager::run(Function &F) { if (F.isMaterializable()) { std::string errstr; if (F.Materialize(&errstr)) - llvm_report_error("Error reading bitcode file: " + errstr); + report_fatal_error("Error reading bitcode file: " + errstr); } return FPM->run(F); } diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index c18168d8a5c..bfdd338e884 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -93,7 +93,7 @@ namespace { // Anonymous namespace for class } if (Broken) - llvm_report_error("Broken module, no Basic Block terminator!"); + report_fatal_error("Broken module, no Basic Block terminator!"); return false; } -- cgit v1.2.3