use auto with dyn_casted values; NFC
[oota-llvm.git] / test / lit.cfg
index 9fb9fb2b4de1972b5d8f9ab7cf2a6ef938daba22..36b4c70440831f3c072ef489be93bd21291b2b20 100644 (file)
@@ -373,10 +373,6 @@ 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():
@@ -463,6 +459,10 @@ if platform.system() in ['Windows'] and re.match(r'.*-win32$', config.target_tri
 if not re.match(r'^x86_64.*-(mingw32|windows-gnu|win32)', config.target_triple):
     config.available_features.add('debug_frame')
 
+# Check if we are embedding timestamps.
+if config.enable_timestamps == '1':
+    config.available_features.add('timestamps')
+
 # Check if we should use gmalloc.
 use_gmalloc_str = lit_config.params.get('use_gmalloc', None)
 if use_gmalloc_str is not None: