From c86e9b79b8951a5c93f7b1f4da961d20bb4c81fd Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 27 Dec 2015 06:14:33 +0000 Subject: [PATCH] Prune the feature "tls". No one is using it since TLS is enabled for Cygwin. llvm-svn: 256457 --- clang/test/lit.cfg | 4 ---- llvm/test/lit.cfg | 4 ---- 2 files changed, 8 deletions(-) diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg index 9c5c71ebde53..c6026506660c 100644 --- a/clang/test/lit.cfg +++ b/clang/test/lit.cfg @@ -422,10 +422,6 @@ if not re.match(r'.*-(cygwin)$', config.target_triple): if platform.system() not in ['Windows']: config.available_features.add('can-remove-opened-file') -# Not set for targeting tls-incapable targets. -if not re.match(r'.*-cygwin$', config.target_triple): - config.available_features.add('tls') - # Returns set of available features, registered-target(s) and asserts. def get_llvm_config_props(): set_of_features = set() diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index 7a39ad3e3ece..36b4c7044083 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -373,10 +373,6 @@ if config.target_triple: if config.host_triple == config.target_triple: config.available_features.add("native") -# Not set for targeting tls-incapable targets. -if not re.match(r'.*-cygwin$', config.target_triple): - config.available_features.add('tls') - import subprocess def have_ld_plugin_support():