OSDN Git Service

Fix include of config.h that was incorrectly changed in r331184
authorJustin Bogner <mail@justinbogner.com>
Thu, 3 May 2018 21:59:13 +0000 (21:59 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 3 May 2018 21:59:13 +0000 (21:59 +0000)
commitbf0b5f5f3305101e3fc80ede1777c7648d4600a4
treec4cdd58513cfa02158fc5242c437383b9e357fa9
parentb841e3b94761b16bdbf065d467d0edf503290220
Fix include of config.h that was incorrectly changed in r331184

The RWMutex implementation depends on config.h macros (specifically
HAVE_PTHREAD_H and HAVE_PTHREAD_RWLOCK_INIT), so we need to be
including it and not just llvm-config.h here or we fall back to a much
slower implementation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331487 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/RWMutex.cpp