MatzeB added a comment. @asbirlea: Why is `-dl` and `-pthread` needed at all? Glancing at the code I don't see any reference to pthreads or dlopen/dlsym... Repository: rL LLVM https://reviews.llvm.org/D43168