diff options
Diffstat (limited to 'test/DebugInfo/2006-11-30-NoCompileUnit.cpp')
-rw-r--r-- | test/DebugInfo/2006-11-30-NoCompileUnit.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/DebugInfo/2006-11-30-NoCompileUnit.cpp b/test/DebugInfo/2006-11-30-NoCompileUnit.cpp index 3c5cb34..993ceb4 100644 --- a/test/DebugInfo/2006-11-30-NoCompileUnit.cpp +++ b/test/DebugInfo/2006-11-30-NoCompileUnit.cpp @@ -1,10 +1,12 @@ // This is a regression test on debug info to make sure we don't hit a compile // 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 | \ +// RUN: llc --disable-fp-elim -o Output/NoCompileUnit.s -f // RUN: as Output/NoCompileUnit.s -o Output/NoCompileUnit.o // RUN: g++ Output/NoCompileUnit.o -o Output/NoCompileUnit.exe -// 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: echo {break main\nrun\np NoCompileUnit::pubname} > %t2 +// RUN: gdb -q -batch -n -x %t2 Output/NoCompileUnit.exe | \ +// RUN: tee Output/NoCompileUnit.out | not grep {"low == high"} // XFAIL: alpha|ia64|arm |