Fix Threading path when LLVM_ENABLE_THREADS=0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296914 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2017-03-03 21:49:38 +00:00
parent a5db565998
commit dd2ea16516

View File

@ -47,7 +47,7 @@ void llvm::llvm_execute_on_thread(void (*Fn)(void *), void *UserData,
unsigned llvm::heavyweight_hardware_concurrency() { return 1; }
uint64_t llvm::get_threadid_np() { return 0; }
uint64_t llvm::get_threadid() { return 0; }
void llvm::set_thread_name(const Twine &Name) {}