[PATCH] D14165: [lld] Ensure we link to the threading library used by std::thread (e.g. pthreads).

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 30 00:28:35 PDT 2015


dsanders added a comment.

FWIW, it seems odd that we'd need pthreads when we don't use threads. I've just had a look at the preprocessed source for COFF/SymbolTable.cpp and the pthread_create reference comes from this line:

  __asm ("" : : "r" (&pthread_create));

which was in the <thread> that was included by <future>.


http://reviews.llvm.org/D14165





More information about the llvm-commits mailing list