projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PPC: Add some missing V_SET0 patterns
[oota-llvm.git]
/
unittests
/
Support
/
ManagedStatic.cpp
diff --git
a/unittests/Support/ManagedStatic.cpp
b/unittests/Support/ManagedStatic.cpp
index a4137619f4d70303bfa0b8a1cfc6d00e76183546..1497f4e34082d520fa8b934691be0c34b9893f99 100644
(file)
--- a/
unittests/Support/ManagedStatic.cpp
+++ b/
unittests/Support/ManagedStatic.cpp
@@
-19,7
+19,8
@@
using namespace llvm;
namespace {
-#ifdef HAVE_PTHREAD_H
+#if LLVM_ENABLE_THREADS != 0 && defined(HAVE_PTHREAD_H) && \
+ !__has_feature(memory_sanitizer)
namespace test1 {
llvm::ManagedStatic<int> ms;
void *helper(void*) {