summaryrefslogtreecommitdiff
path: root/test/lib/llvm.exp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-02-02 21:09:36 +0000
committerDevang Patel <dpatel@apple.com>2009-02-02 21:09:36 +0000
commit6748f044b259b846d19f02ff922a674b7c7f3bd7 (patch)
tree9f83573afa47af3b92991bee8b9a603192f1d3ee /test/lib/llvm.exp
parent54c94525f420cab274af60e98a77f081f96e59c2 (diff)
downloadllvm-6748f044b259b846d19f02ff922a674b7c7f3bd7.tar.gz
llvm-6748f044b259b846d19f02ff922a674b7c7f3bd7.tar.bz2
llvm-6748f044b259b846d19f02ff922a674b7c7f3bd7.tar.xz
Run dsymutil on darwin, when it is expected, before running gdb test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63548 91177308-0d34-0410-b5e6-96231b3b80d8
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,