]> granicus.if.org Git - clang/commitdiff
Revert r179671 and just pass a triple to the test for a platform with known
authorEric Christopher <echristo@gmail.com>
Wed, 17 Apr 2013 17:27:51 +0000 (17:27 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 17 Apr 2013 17:27:51 +0000 (17:27 +0000)
TLS support.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179692 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/cxx11-thread-local.cpp
test/lit.cfg

index e9b227970538235413f3713739cf7df01fbce3ca..f1dddc1c3bf744a4788eeb71e60aa7ba9d3025e0 100644 (file)
@@ -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;
index 8584f79c62d1526ff6599ae4085b244b13609ff0..6b0ad59c9f1f44e653787b5b9e640c6b7a0a16b7 100644 (file)
@@ -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")