aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-07 23:12:35 +0000
committerChris Lattner <sabre@nondot.org>2010-04-07 23:12:35 +0000
commit1e3c6f4ab525beb31390f6b2f1154bd5c63bfb3f (patch)
tree9e3a4a9a527088f7404b9bf9c34ec4ac7e146234
parent216c278982ea8dd76d5d7d1ad0dcb39d3c5226e3 (diff)
update for api change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100718 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/driver/cc1_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/driver/cc1_main.cpp b/tools/driver/cc1_main.cpp
index ff48684705..d329c525ac 100644
--- a/tools/driver/cc1_main.cpp
+++ b/tools/driver/cc1_main.cpp
@@ -249,7 +249,7 @@ int cc1_main(const char **ArgBegin, const char **ArgEnd,
// Set an error handler, so that any LLVM backend diagnostics go through our
// error handler.
- llvm::llvm_install_error_handler(LLVMErrorHandler,
+ llvm::install_fatal_error_handler(LLVMErrorHandler,
static_cast<void*>(&Clang->getDiagnostics()));
DiagsBuffer.FlushDiagnostics(Clang->getDiagnostics());