git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254360
91177308-0d34-0410-b5e6-
96231b3b80d8
if config.host_triple == config.target_triple:
config.available_features.add("native")
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():
import subprocess
def have_ld_plugin_support():