[PATCH] D43168: Don't use -ldl on BSD
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 12 10:50:45 PST 2018
dim added a comment.
In https://reviews.llvm.org/D43168#1005380, @dim wrote:
> Apparently there is a `halide_spawn_thread` function in the bitcode. I am unsure if there is any source for that bitcode?
Indeed, `pthread_create` is called here:
https://github.com/halide/Halide/blob/master/src/runtime/posix_threads.cpp#L54
and `dlopen` here:
https://github.com/halide/Halide/blob/master/src/runtime/posix_get_symbol.cpp#L17
Repository:
rL LLVM
https://reviews.llvm.org/D43168
More information about the llvm-commits
mailing list