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.

llvm-svn: 211285

clang/tools/libclang/CIndex.cpp

index 2c01c50..f99bb21 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);
 }