[llvm-commits] [llvm] r48134 - in /llvm/trunk/test/C++Frontend: 2006-11-06-StackTrace.cpp 2006-11-30-NoCompileUnit.cpp 2006-11-30-Pubnames.cpp
Chris Lattner
sabre at nondot.org
Sun Mar 9 23:52:10 PDT 2008
Author: lattner
Date: Mon Mar 10 01:52:10 2008
New Revision: 48134
URL: http://llvm.org/viewvc/llvm-project?rev=48134&view=rev
Log:
switch from hard coded g++/as tools to the ones detected from
the build system. Patch by Joachim Durchholz for PR2121
Modified:
llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp
llvm/trunk/test/C++Frontend/2006-11-30-NoCompileUnit.cpp
llvm/trunk/test/C++Frontend/2006-11-30-Pubnames.cpp
Modified: llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2006-11-06-StackTrace.cpp?rev=48134&r1=48133&r2=48134&view=diff
==============================================================================
--- llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp (original)
+++ llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp Mon Mar 10 01:52:10 2008
@@ -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 | \
Modified: llvm/trunk/test/C++Frontend/2006-11-30-NoCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2006-11-30-NoCompileUnit.cpp?rev=48134&r1=48133&r2=48134&view=diff
==============================================================================
--- llvm/trunk/test/C++Frontend/2006-11-30-NoCompileUnit.cpp (original)
+++ llvm/trunk/test/C++Frontend/2006-11-30-NoCompileUnit.cpp Mon Mar 10 01:52:10 2008
@@ -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"}
Modified: llvm/trunk/test/C++Frontend/2006-11-30-Pubnames.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2006-11-30-Pubnames.cpp?rev=48134&r1=48133&r2=48134&view=diff
==============================================================================
--- llvm/trunk/test/C++Frontend/2006-11-30-Pubnames.cpp (original)
+++ llvm/trunk/test/C++Frontend/2006-11-30-Pubnames.cpp Mon Mar 10 01:52:10 2008
@@ -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}
More information about the llvm-commits
mailing list