mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
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:
parent
a5db565998
commit
dd2ea16516
@ -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) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user