| 63 | |
| 64 | #if LLVM_ENABLE_THREADS == 0 |
| 65 | void llvm::llvm_execute_on_thread_async( |
| 66 | llvm::unique_function<void()> Func, |
| 67 | llvm::Optional<unsigned> StackSizeInBytes) { |
| 68 | (void)Func; |
| 69 | (void)StackSizeInBytes; |
| 70 | report_fatal_error("Spawning a detached thread doesn't make sense with no " |
| 71 | "threading support"); |
| 72 | } |
| 73 | #else |
| 74 | // Support for non-Win32, non-pthread implementation. |
| 75 | void llvm::llvm_execute_on_thread_async( |
nothing calls this directly
no test coverage detected