forked from OSchip/llvm-project
check-llvm: Introduce the new feature "tls".
llvm-svn: 254360
This commit is contained in:
parent
5a99c49d2e
commit
23183f3bba
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue