Fix PR24563 (LiveDebugVariables unconditionally propagates all DBG_VALUEs)
[oota-llvm.git] / test / lit.cfg
index 9fb9fb2b4de1972b5d8f9ab7cf2a6ef938daba22..7a39ad3e3ece13f9baccff6167fd8e8cbb82f5cc 100644 (file)
@@ -463,6 +463,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: