1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

These pass on Linux now.

llvm-svn: 32195
This commit is contained in:
Reid Spencer 2006-12-04 20:46:05 +00:00
parent add30c8a43
commit c8833bfcb7
2 changed files with 4 additions and 6 deletions

View File

@ -1,11 +1,11 @@
// This is a regression test on debug info to make sure we don't hit a compile unit size // This is a regression test on debug info to make sure we don't hit a compile
// issue with gdb. // unit size issue with gdb.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | llc --disable-fp-elim -o Output/NoCompileUnit.s -f // RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | llc --disable-fp-elim -o Output/NoCompileUnit.s -f
// RUN: as Output/NoCompileUnit.s -o Output/NoCompileUnit.o // RUN: as Output/NoCompileUnit.s -o Output/NoCompileUnit.o
// RUN: g++ Output/NoCompileUnit.o -o Output/NoCompileUnit.exe // RUN: g++ Output/NoCompileUnit.o -o Output/NoCompileUnit.exe
// RUN: ( echo "break main"; echo "run" ; echo "p NoCompileUnit::pubname" ) > Output/NoCompileUnit.gdbin // RUN: ( echo "break main"; echo "run" ; echo "p NoCompileUnit::pubname" ) > Output/NoCompileUnit.gdbin
// RUN: gdb -q -batch -n -x Output/NoCompileUnit.gdbin Output/NoCompileUnit.exe | tee Output/NoCompileUnit.out | not grep '"low == high"' // RUN: gdb -q -batch -n -x Output/NoCompileUnit.gdbin Output/NoCompileUnit.exe | tee Output/NoCompileUnit.out | not grep '"low == high"'
// XFAIL: i[1-9]86|alpha|ia64|arm // XFAIL: alpha|ia64|arm
class MamaDebugTest { class MamaDebugTest {
@ -54,5 +54,3 @@ int main(int argc, const char *argv[]) {
BabyDebugTest BDT(20); BabyDebugTest BDT(20);
return BDT.doit(); return BDT.doit();
} }

View File

@ -5,7 +5,7 @@
// RUN: g++ Output/Pubnames.o -o Output/Pubnames.exe // RUN: g++ Output/Pubnames.o -o Output/Pubnames.exe
// RUN: ( echo "break main"; echo "run" ; echo "p Pubnames::pubname" ) > Output/Pubnames.gdbin // RUN: ( echo "break main"; echo "run" ; echo "p Pubnames::pubname" ) > Output/Pubnames.gdbin
// RUN: gdb -q -batch -n -x Output/Pubnames.gdbin Output/Pubnames.exe | tee Output/Pubnames.out | grep '10' // RUN: gdb -q -batch -n -x Output/Pubnames.gdbin Output/Pubnames.exe | tee Output/Pubnames.out | grep '10'
// XFAIL: i[1-9]86|alpha|ia64|arm // XFAIL: alpha|ia64|arm
struct Pubnames { struct Pubnames {
static int pubname; static int pubname;