[llvm] r178135 - Disable Initialize.MultipleThreads test under MemorySanitizer.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Wed Mar 27 05:50:49 PDT 2013
Author: eugenis
Date: Wed Mar 27 07:50:49 2013
New Revision: 178135
URL: http://llvm.org/viewvc/llvm-project?rev=178135&view=rev
Log:
Disable Initialize.MultipleThreads test under MemorySanitizer.
Fails due to insufficient thread stack.
Modified:
llvm/trunk/unittests/Support/ManagedStatic.cpp
Modified: llvm/trunk/unittests/Support/ManagedStatic.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/ManagedStatic.cpp?rev=178135&r1=178134&r2=178135&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/ManagedStatic.cpp (original)
+++ llvm/trunk/unittests/Support/ManagedStatic.cpp Wed Mar 27 07:50:49 2013
@@ -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*) {
More information about the llvm-commits
mailing list