r179692 - Revert r179671 and just pass a triple to the test for a platform with known

Eric Christopher echristo at gmail.com
Wed Apr 17 10:27:52 PDT 2013


Author: echristo
Date: Wed Apr 17 12:27:51 2013
New Revision: 179692

URL: http://llvm.org/viewvc/llvm-project?rev=179692&view=rev
Log:
Revert r179671 and just pass a triple to the test for a platform with known
TLS support.

Modified:
    cfe/trunk/test/SemaCXX/cxx11-thread-local.cpp
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/SemaCXX/cxx11-thread-local.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/cxx11-thread-local.cpp?rev=179692&r1=179691&r2=179692&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/cxx11-thread-local.cpp (original)
+++ cfe/trunk/test/SemaCXX/cxx11-thread-local.cpp Wed Apr 17 12:27:51 2013
@@ -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;

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=179692&r1=179691&r2=179692&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Wed Apr 17 12:27:51 2013
@@ -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")





More information about the cfe-commits mailing list