switch from hard coded g++/as tools to the ones detected from

the build system.  Patch by Joachim Durchholz  for PR2121



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-03-10 06:52:10 +00:00
parent 27137a5e34
commit 3efa1a77b2
3 changed files with 4 additions and 4 deletions

View 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 | \

View File

@ -2,8 +2,8 @@
// unit size issue with gdb.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: llc --disable-fp-elim -o NoCompileUnit.s -f
// RUN: as NoCompileUnit.s -o NoCompileUnit.o
// RUN: g++ NoCompileUnit.o -o NoCompileUnit.exe
// RUN: %compile_c NoCompileUnit.s -o NoCompileUnit.o
// RUN: %compile_cxx NoCompileUnit.o -o NoCompileUnit.exe
// RUN: echo {break main\nrun\np NoCompileUnit::pubname} > %t2
// RUN: gdb -q -batch -n -x %t2 NoCompileUnit.exe | \
// RUN: tee NoCompileUnit.out | not grep {"low == high"}

View File

@ -2,7 +2,7 @@
// qualified global names.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: 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 main\nrun\np Pubnames::pubname} > %t.in
// RUN: gdb -q -batch -n -x %t.in %t.exe | tee %t.out | grep {\$1 = 10}