summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2018-05-03 21:59:13 +0000
committerJustin Bogner <mail@justinbogner.com>2018-05-03 21:59:13 +0000
commit33e0ae0d8f338f9346b6e38f0a60e0f6d90d9c26 (patch)
tree3a19bebe0c7966ce9313672c6d131c3ad807bc44 /llvm/lib/Support
parente7b665471135e63955bbc102cb5ac457726849e4 (diff)
downloadbcm5719-llvm-33e0ae0d8f338f9346b6e38f0a60e0f6d90d9c26.tar.gz
bcm5719-llvm-33e0ae0d8f338f9346b6e38f0a60e0f6d90d9c26.zip
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. llvm-svn: 331487
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/RWMutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/RWMutex.cpp b/llvm/lib/Support/RWMutex.cpp
index 8ebef708831..8b6d74e49f3 100644
--- a/llvm/lib/Support/RWMutex.cpp
+++ b/llvm/lib/Support/RWMutex.cpp
@@ -13,7 +13,7 @@
#include "llvm/Support/Allocator.h"
#include "llvm/Support/RWMutex.h"
-#include "llvm/Config/llvm-config.h"
+#include "llvm/Config/config.h"
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only TRULY operating system
OpenPOWER on IntegriCloud