[llvm] r254360 - check-llvm: Introduce the new feature "tls".
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 30 17:14:58 PST 2015
Author: chapuni
Date: Mon Nov 30 19:14:58 2015
New Revision: 254360
URL: http://llvm.org/viewvc/llvm-project?rev=254360&view=rev
Log:
check-llvm: Introduce the new feature "tls".
Modified:
llvm/trunk/test/lit.cfg
Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=254360&r1=254359&r2=254360&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Mon Nov 30 19:14:58 2015
@@ -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():
More information about the llvm-commits
mailing list