]> granicus.if.org Git - clang/commitdiff
update for api change.
authorChris Lattner <sabre@nondot.org>
Wed, 7 Apr 2010 23:12:35 +0000 (23:12 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Apr 2010 23:12:35 +0000 (23:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100718 91177308-0d34-0410-b5e6-96231b3b80d8

tools/driver/cc1_main.cpp

index ff486847059bd79c25eb6ae5b973680f0339da37..d329c525ac1d38269d7f775704689902fa2cccf7 100644 (file)
@@ -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());