diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-11-08 16:38:45 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-11-08 16:38:45 +0000 |
commit | a2f996a88efd6e63905b9dfcb28c4a0a7e673474 (patch) | |
tree | 5c590fc134cd9edba365f38e4c7f1b91a40abe40 /test/DebugInfo | |
parent | 72a780f5777cfbeabab6d684a0d360a1f8810a6e (diff) | |
download | llvm-a2f996a88efd6e63905b9dfcb28c4a0a7e673474.tar.gz llvm-a2f996a88efd6e63905b9dfcb28c4a0a7e673474.tar.bz2 llvm-a2f996a88efd6e63905b9dfcb28c4a0a7e673474.tar.xz |
Make it work on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r-- | test/DebugInfo/2006-11-06-StackTrace.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/DebugInfo/2006-11-06-StackTrace.cpp b/test/DebugInfo/2006-11-06-StackTrace.cpp index a9af6904af..9c48b59fe2 100644 --- a/test/DebugInfo/2006-11-06-StackTrace.cpp +++ b/test/DebugInfo/2006-11-06-StackTrace.cpp @@ -1,10 +1,11 @@ // This is a regression test on debug info to make sure that we can get a // meaningful stack trace from a C++ program. // RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | llc -o Output/StackTrace.s -f -// RUN: gcc -g Output/StackTrace.s -o Output/StackTrace.exe -lstdc++ +// RUN: as Output/StackTrace.s -o Output/StackTrace.o +// RUN: g++ Output/StackTrace.o -o Output/StackTrace.exe // RUN: ( echo "break DeepStack::deepest"; echo "run 17" ; echo "where" ) > Output/StackTrace.gdbin -// RUN: gdb -q -batch -n -x Output/StackTrace.gdbin Output/StackTrace.exe | tee Output/StackTrace.out | grep '#0 DeepStack::deepest (this=.*,x=33)' -// RUN: gdb -q -batch -n -x Output/StackTrace.gdbin Output/StackTrace.exe | grep '#7 0x.* in main(argc=1, argv=.*)' +// RUN: gdb -q -batch -n -x Output/StackTrace.gdbin Output/StackTrace.exe | tee Output/StackTrace.out | grep '#0 DeepStack::deepest.*(this=.*,.*x=33)' +// RUN: gdb -q -batch -n -x Output/StackTrace.gdbin Output/StackTrace.exe | grep '#7 0x.* in main.*(argc=[12],.*argv=.*)' // XFAIL: linux |