switch from hard coded g++/as tools to the ones detected from
[oota-llvm.git] / test / C++Frontend / 2006-11-06-StackTrace.cpp
index 0c2c0afab95021edbb30d628f4bb64e921d8b4bd..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 | \