summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-12-01 01:14:58 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-12-01 01:14:58 +0000
commit23183f3bbaf4bb13c8c31604a925f3bbe2ab4883 (patch)
tree80b84067935f76a472c7c2a052c925071b8fce63
parent5a99c49d2e232c3a5076b2f99549ccd595598a4c (diff)
downloadbcm5719-llvm-23183f3bbaf4bb13c8c31604a925f3bbe2ab4883.tar.gz
bcm5719-llvm-23183f3bbaf4bb13c8c31604a925f3bbe2ab4883.zip
check-llvm: Introduce the new feature "tls".
llvm-svn: 254360
-rw-r--r--llvm/test/lit.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg
index 3f710debf23..b77f892d4d9 100644
--- a/llvm/test/lit.cfg
+++ b/llvm/test/lit.cfg
@@ -374,6 +374,10 @@ 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():
OpenPOWER on IntegriCloud