summaryrefslogtreecommitdiffstats
path: root/llvm/test/lib
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
commitdd5dbca59c708cf84913e08b6187c000259157de (patch)
treede6866dd59641f2512e98105e4f45d77c13885ee /llvm/test/lib
parentbb70c08c8d389d7fb68be37a0c510b08a326ef6f (diff)
downloadbcm5719-llvm-dd5dbca59c708cf84913e08b6187c000259157de.tar.gz
bcm5719-llvm-dd5dbca59c708cf84913e08b6187c000259157de.zip
Run dsymutil on darwin, when it is expected, before running gdb test.
llvm-svn: 63548
Diffstat (limited to 'llvm/test/lib')
-rw-r--r--llvm/test/lib/llvm.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/lib/llvm.exp b/llvm/test/lib/llvm.exp
index b5d5cffae1e..ab8522ab6a2 100644
--- a/llvm/test/lib/llvm.exp
+++ b/llvm/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,
OpenPOWER on IntegriCloud