Revert r211287, "Remove support for LLVM runtime multi-threading."

libclang still requires it on cygming, lack of incomplete <mutex>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi
2014-06-24 13:36:31 +00:00
parent 90be077d09
commit cdde33ebaa
7 changed files with 99 additions and 17 deletions

View File

@@ -2708,10 +2708,11 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM) {
/*===-- Threading ------------------------------------------------------===*/
LLVMBool LLVMStartMultithreaded() {
return LLVMIsMultithreaded();
return llvm_start_multithreaded();
}
void LLVMStopMultithreaded() {
llvm_stop_multithreaded();
}
LLVMBool LLVMIsMultithreaded() {