]> granicus.if.org Git - clang/commitdiff
Don't call llvm_start_multithreaded() during init. As of LLVM
authorZachary Turner <zturner@google.com>
Thu, 19 Jun 2014 18:03:56 +0000 (18:03 +0000)
committerZachary Turner <zturner@google.com>
Thu, 19 Jun 2014 18:03:56 +0000 (18:03 +0000)
revision r211277, this function is essentially a no-op.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211285 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CIndex.cpp

index 2c01c50513f69548868eb2baf1929122d577ee6b..f99bb2102b1172d7b26cc148623711c60be6b4a0 100644 (file)
@@ -2577,8 +2577,6 @@ static void fatal_error_handler(void *user_data, const std::string& reason,
 }
 
 static void initializeLibClang() {
-  // Install our error handler, and make sure multi-threading is enabled.
-  llvm::llvm_start_multithreaded();
   llvm::install_fatal_error_handler(fatal_error_handler, nullptr);
 }