From be0d74465db88aa17438edbd8389180b19c47bf3 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 1 Dec 2015 01:14:58 +0000 Subject: [PATCH] check-llvm: Introduce the new feature "tls". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254360 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/lit.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/lit.cfg b/test/lit.cfg index 3f710debf23..b77f892d4d9 100644 --- a/test/lit.cfg +++ b/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(): -- 2.34.1