From cdde33ebaad211e1ce0fc22b53bbccff8bb3c1a4 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 24 Jun 2014 13:36:31 +0000 Subject: Revert r211287, "Remove support for LLVM runtime multi-threading." libclang still requires it on cygming, lack of incomplete . git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211592 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/Core.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/IR') diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp index 0cb781c2c6..2c49d5b949 100644 --- a/lib/IR/Core.cpp +++ b/lib/IR/Core.cpp @@ -2708,10 +2708,11 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM) { /*===-- Threading ------------------------------------------------------===*/ LLVMBool LLVMStartMultithreaded() { - return LLVMIsMultithreaded(); + return llvm_start_multithreaded(); } void LLVMStopMultithreaded() { + llvm_stop_multithreaded(); } LLVMBool LLVMIsMultithreaded() { -- cgit v1.2.3