Fix Threading path when LLVM_ENABLE_THREADS=0.

llvm-svn: 296914
This commit is contained in:
Zachary Turner 2017-03-03 21:49:38 +00:00
parent 6dabadab78
commit 640cee0d2d
1 changed files with 1 additions and 1 deletions

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) {}