diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-07 22:58:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-07 22:58:41 +0000 |
commit | 75361b69f3f327842b9dad69fa7f28ae3b688412 (patch) | |
tree | 5308b9ca3c47b10d83068cbbd7c13bcf8cca7f73 /lib/CodeGen/ELFWriter.cpp | |
parent | e3a601b648e4cbb916e33f969a1b9d3d40b36734 (diff) |
rename llvm::llvm_report_error -> llvm::report_fatal_error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.cpp')
-rw-r--r-- | lib/CodeGen/ELFWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp index eda167cb54..651e7e9f92 100644 --- a/lib/CodeGen/ELFWriter.cpp +++ b/lib/CodeGen/ELFWriter.cpp @@ -507,7 +507,7 @@ void ELFWriter::EmitGlobalConstant(const Constant *CV, ELFSection &GblS) { std::string msg; raw_string_ostream ErrorMsg(msg); ErrorMsg << "Constant unimp for type: " << *CV->getType(); - llvm_report_error(ErrorMsg.str()); + report_fatal_error(ErrorMsg.str()); } // ResolveConstantExpr - Resolve the constant expression until it stop @@ -575,7 +575,7 @@ CstExprResTy ELFWriter::ResolveConstantExpr(const Constant *CV) { std::string msg(CE->getOpcodeName()); raw_string_ostream ErrorMsg(msg); ErrorMsg << ": Unsupported ConstantExpr type"; - llvm_report_error(ErrorMsg.str()); + report_fatal_error(ErrorMsg.str()); return std::make_pair(CV, 0); // silence warning } |