summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-07 22:58:41 +0000
committerChris Lattner <sabre@nondot.org>2010-04-07 22:58:41 +0000
commit2104b8d36e10b07ee396dba0a6ce58e621ef88c9 (patch)
treeb2f56fa2c068df5023c81c5781bd3cebdfa371fd /llvm/lib/CodeGen/ELFWriter.cpp
parent4b73cfabac29092070ec658b51953a42b9eed8df (diff)
downloadbcm5719-llvm-2104b8d36e10b07ee396dba0a6ce58e621ef88c9.tar.gz
bcm5719-llvm-2104b8d36e10b07ee396dba0a6ce58e621ef88c9.zip
rename llvm::llvm_report_error -> llvm::report_fatal_error
llvm-svn: 100709
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp
index eda167cb54a..651e7e9f92e 100644
--- a/llvm/lib/CodeGen/ELFWriter.cpp
+++ b/llvm/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
}
OpenPOWER on IntegriCloud