From: Zachary Turner Date: Thu, 19 Jun 2014 18:03:56 +0000 (+0000) Subject: Don't call llvm_start_multithreaded() during init. As of LLVM X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d408dafab903d4e16acf63af294faf3b814153cd;p=clang Don't call llvm_start_multithreaded() during init. As of LLVM 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 --- diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index 2c01c50513..f99bb2102b 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -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); }