no need for eh info
[oota-llvm.git] / test / C++Frontend / 2006-11-06-StackTrace.cpp
index 621a301eb285ea25f5d3a2f7026fa3ef03775338..55b34ad82d52385c06838a2cd17d7f69092c4e94 100644 (file)
@@ -1,7 +1,7 @@
 // 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 --disable-fp-elim -o %t.s -f
-// RUN: as %t.s -o %t.o
+// RUN: %compile_c %t.s -o %t.o
 // RUN: %link %t.o -o %t.exe
 // RUN: echo {break DeepStack::deepest\nrun 17\nwhere\n} > %t.in 
 // RUN: gdb -q -batch -n -x %t.in %t.exe | tee %t.out | \
@@ -9,8 +9,8 @@
 // RUN: gdb -q -batch -n -x %t.in %t.exe | \
 // RUN:   grep {#7  0x.* in main.*(argc=\[12\],.*argv=.*)}
 
-// Only works on ppc.  Should generalize?
-// XFAIL: i[1-9]86|alpha|ia64|arm|x86_64|amd64
+// Only works on ppc, x86 and x86_64.  Should generalize?
+// XFAIL: alpha|ia64|arm
 
 #include <stdlib.h>