summaryrefslogtreecommitdiff
path: root/test/lib/llvm.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/llvm.exp')
-rw-r--r--test/lib/llvm.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp
index b5d5cffae1..ab8522ab6a 100644
--- a/test/lib/llvm.exp
+++ b/test/lib/llvm.exp
@@ -48,7 +48,7 @@ proc execOneLine { test PRS outcome lineno line } {
proc substitute { line test tmpFile } {
global srcroot objroot srcdir objdir subdir target_triplet prcontext
global llvmgcc llvmgxx llvmgcc_version llvmgccmajvers ocamlc
- global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir
+ global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir llvmdsymutil
global valgrind grep gas
set path [file join $srcdir $subdir]
@@ -73,6 +73,8 @@ proc substitute { line test tmpFile } {
regsub -all {%shlibext} $new_line "$shlibext" new_line
#replace %ocamlc with ocaml compiler command
regsub -all {%ocamlc} $new_line "$ocamlc" new_line
+ #replace %llvmdsymutil with dsymutil command
+ regsub -all {%llvmdsymutil} $new_line "$llvmdsymutil" new_line
#replace %llvmlibsdir with configure library directory
regsub -all {%llvmlibsdir} $new_line "$llvmlibsdir" new_line
#replace %p with path to source,