summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-03-27 12:50:49 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-03-27 12:50:49 +0000
commitd6d0ebbed7ecb807e0606ac4f96af9e40202a3bb (patch)
tree54002c346a1f119684320440277ac251948497dd /unittests
parenta210db781f17b5ab8e2b71d53276153a9d15eead (diff)
downloadllvm-d6d0ebbed7ecb807e0606ac4f96af9e40202a3bb.tar.gz
llvm-d6d0ebbed7ecb807e0606ac4f96af9e40202a3bb.tar.bz2
llvm-d6d0ebbed7ecb807e0606ac4f96af9e40202a3bb.tar.xz
Disable Initialize.MultipleThreads test under MemorySanitizer.
Fails due to insufficient thread stack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/ManagedStatic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/ManagedStatic.cpp b/unittests/Support/ManagedStatic.cpp
index a4137619f4..8ddad38ecf 100644
--- a/unittests/Support/ManagedStatic.cpp
+++ b/unittests/Support/ManagedStatic.cpp
@@ -19,7 +19,7 @@ using namespace llvm;
namespace {
-#ifdef HAVE_PTHREAD_H
+#if defined(HAVE_PTHREAD_H) && !__has_feature(memory_sanitizer)
namespace test1 {
llvm::ManagedStatic<int> ms;
void *helper(void*) {