Must have a frame pointer.

llvm-svn: 31638
This commit is contained in:
Jim Laskey 2006-11-10 17:51:25 +00:00
parent 6c8656a6b1
commit 11ba2bf721
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// 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: %llvmgcc -S -O0 -g %s -o - | llvm-as | --disable-fp-elim llc -o Output/StackTrace.s -f
// 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
@ -8,7 +8,6 @@
// RUN: gdb -q -batch -n -x Output/StackTrace.gdbin Output/StackTrace.exe | grep '#7 0x.* in main.*(argc=[12],.*argv=.*)'
// XFAIL: i[0-9]86
#include <stdlib.h>
class DeepStack {