{"push_id":723469119,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"27b6248b2e3f97993fc2786be3476eac9bd77ed5","before":"aa9536dc4f5166e84cd347a42b14ba25c4afaf90","commits":[{"sha":"27b6248b2e3f97993fc2786be3476eac9bd77ed5","author":{"email":"0d2d6fe0cb2e9ade0d2bf90d72a72b8ac034ef0e@gmx.de","name":"Nico Weber"},"message":"Fix lld tests with LLVM_ENABLE_THREADS disabled.\n\nWith LLVM_ENABLE_THREADS disabled, all the llvm code assumes that it runs on\na single thread and doesn't use any mutexes.  lld still spawned lots of threads\nin that case and called into llvm, assuming that llvm is thread-safe.\n\nAs fix, let lld use only a single thread if LLVM_ENABLE_THREADS is disabled.\nI left in all the mutexes in lld. That means lld is a bit slower than\nnecessary in single-thread mode, but that's probably worth the simpler code.\n\n\ngit-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@242004 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-mirror/lld/commits/27b6248b2e3f97993fc2786be3476eac9bd77ed5"}]}