aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-04-17 17:27:51 +0000
committerEric Christopher <echristo@gmail.com>2013-04-17 17:27:51 +0000
commitd82fdf059724bfa0b7601833db5fff2b42853f60 (patch)
tree60110865afa762d35d7c1c622c72d3df018dcf15
parent7974c60375b2b9dfc20defc77c9ed8c3d6d241a1 (diff)
Revert r179671 and just pass a triple to the test for a platform with known
TLS support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179692 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/cxx11-thread-local.cpp3
-rw-r--r--test/lit.cfg4
2 files changed, 1 insertions, 6 deletions
diff --git a/test/SemaCXX/cxx11-thread-local.cpp b/test/SemaCXX/cxx11-thread-local.cpp
index e9b2279705..f1dddc1c3b 100644
--- a/test/SemaCXX/cxx11-thread-local.cpp
+++ b/test/SemaCXX/cxx11-thread-local.cpp
@@ -1,5 +1,4 @@
-// RUN: %clang_cc1 -std=c++11 -verify %s
-// REQUIRES: thread_local_storage
+// RUN: %clang_cc1 -std=c++11 -triple=x86_64-linux-gnu -verify %s
struct S {
static thread_local int a;
diff --git a/test/lit.cfg b/test/lit.cfg
index 8584f79c62..6b0ad59c9f 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -305,7 +305,3 @@ if config.llvm_use_sanitizer == "Address":
if (config.llvm_use_sanitizer == "Memory" or
config.llvm_use_sanitizer == "MemoryWithOrigins"):
config.available_features.add("msan")
-
-# Thread local storage
-if not 'darwin10' in config.target_triple:
- config.available_features.add("thread_local_storage")