check-llvm: Introduce the new feature "tls".

llvm-svn: 254360
This commit is contained in:
NAKAMURA Takumi 2015-12-01 01:14:58 +00:00
parent 5a99c49d2e
commit 23183f3bba
1 changed files with 4 additions and 0 deletions

View File

@ -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():