X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFrontendC%2B%2B%2F2006-11-06-StackTrace.cpp;h=b79c0bf9934ac9cfb74a405843af870cb0319a89;hb=1023643d501b4375b261eb5449a2bb0195f49780;hp=55b34ad82d52385c06838a2cd17d7f69092c4e94;hpb=d1d1c8b3d5eae2de96fc83f2b807556f1b8f85b0;p=oota-llvm.git diff --git a/test/FrontendC++/2006-11-06-StackTrace.cpp b/test/FrontendC++/2006-11-06-StackTrace.cpp index 55b34ad82d5..b79c0bf9934 100644 --- a/test/FrontendC++/2006-11-06-StackTrace.cpp +++ b/test/FrontendC++/2006-11-06-StackTrace.cpp @@ -1,16 +1,18 @@ // 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: %llvmgcc -S -O0 -g %s -o - | \ +// RUN: llc --disable-fp-elim -o %t.s -O0 -relocation-model=pic // 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 | \ -// RUN: grep {#0 DeepStack::deepest.*(this=.*,.*x=33)} -// RUN: gdb -q -batch -n -x %t.in %t.exe | \ -// RUN: grep {#7 0x.* in main.*(argc=\[12\],.*argv=.*)} +// RN: gdb -q -batch -n -x %t.in %t.exe | tee %t.out | \ +// RN: grep {#0 DeepStack::deepest.*(this=.*,.*x=33)} +// RN: gdb -q -batch -n -x %t.in %t.exe | \ +// RN: grep {#7 0x.* in main.*(argc=\[12\],.*argv=.*)} -// Only works on ppc, x86 and x86_64. Should generalize? -// XFAIL: alpha|ia64|arm +// Only works on ppc (but not apple-darwin9), x86 and x86_64. Should +// generalize? +// XAIL: alpha,arm,powerpc-apple-darwin9 #include