[llvm-symbolizer] -print-source-context-lines option to print source code around...
[oota-llvm.git] / test / lit.cfg
index 9fb9fb2b4de1972b5d8f9ab7cf2a6ef938daba22..e06c10f64212b029ff6e3489c4aabc2e23ea6f55 100644 (file)
@@ -194,6 +194,7 @@ config.substitutions.append( ('%llvmshlibdir', config.llvm_shlib_dir) )
 config.substitutions.append( ('%shlibext', config.llvm_shlib_ext) )
 config.substitutions.append( ('%exeext', config.llvm_exe_ext) )
 config.substitutions.append( ('%python', config.python_executable) )
+config.substitutions.append( ('%host_cc', config.host_cc) )
 
 # OCaml substitutions.
 # Support tests for both native and bytecode builds.
@@ -276,6 +277,7 @@ for pattern in [r"\bbugpoint\b(?!-)",
                 r"\bllvm-split\b",
                 r"\bllvm-tblgen\b",
                 r"\bllvm-c-test\b",
+                NOJUNK + r"\bllvm-symbolizer\b",
                 NOJUNK + r"\bopt\b",
                 r"\bFileCheck\b",
                 r"\bobj2yaml\b",
@@ -373,10 +375,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():