projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disable Initialize.MultipleThreads test under MemorySanitizer.
[oota-llvm.git]
/
unittests
/
Support
/
ManagedStatic.cpp
diff --git
a/unittests/Support/ManagedStatic.cpp
b/unittests/Support/ManagedStatic.cpp
index a4137619f4d70303bfa0b8a1cfc6d00e76183546..8ddad38ecf17171612bb98e0b48aa2348748d624 100644
(file)
--- a/
unittests/Support/ManagedStatic.cpp
+++ b/
unittests/Support/ManagedStatic.cpp
@@
-19,7
+19,7
@@
using namespace llvm;
namespace {
-#if
def HAVE_PTHREAD_H
+#if
defined(HAVE_PTHREAD_H) && !__has_feature(memory_sanitizer)
namespace test1 {
llvm::ManagedStatic<int> ms;
void *helper(void*) {