forked from OSchip/llvm-project
parent
f8da028895
commit
20ce0c0ce0
|
@ -1,7 +1,7 @@
|
|||
// This is a regression test on debug info to make sure that we can access
|
||||
// qualified global names.
|
||||
// RUN: %llvmgcc -S -O0 -g %s -o - | \
|
||||
// RUN: llc --disable-fp-elim -o %t.s -O0
|
||||
// RUN: llc -disable-cfi --disable-fp-elim -o %t.s -O0
|
||||
// RUN: %compile_c %t.s -o %t.o
|
||||
// RUN: %link %t.o -o %t.exe
|
||||
// RUN: %llvmdsymutil %t.exe
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Check bitfields.
|
||||
// RUN: %llvmgcc -S -O0 -g %s -o - | \
|
||||
// RUN: llc --disable-fp-elim -o 2009-02-17-BitField-dbg.s
|
||||
// RUN: llc -disable-cfi --disable-fp-elim -o 2009-02-17-BitField-dbg.s
|
||||
// RUN: %compile_c 2009-02-17-BitField-dbg.s -o 2009-02-17-BitField-dbg.o
|
||||
// RUN: echo {ptype mystruct} > %t2
|
||||
// RUN: gdb -q -batch -n -x %t2 2009-02-17-BitField-dbg.o | \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// This is a regression test on debug info to make sure that llvm emitted
|
||||
// debug info does not crash gdb.
|
||||
// RUN: %llvmgcc -S -O0 -g %s -o - | \
|
||||
// RUN: llc --disable-fp-elim -o %t.s -O0 -relocation-model=pic
|
||||
// RUN: llc -disable-cfi --disable-fp-elim -o %t.s -O0 -relocation-model=pic
|
||||
// RUN: %compile_c %t.s -o %t.o
|
||||
// RUN: echo {quit\n} > %t.in
|
||||
// RUN: gdb -q -batch -n -x %t.in %t.o > /dev/null
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// RUN: %llvmgcc -S -O0 -g %s -o - | \
|
||||
// RUN: llc --disable-fp-elim -o %t.s -O0 -relocation-model=pic
|
||||
// RUN: llc -disable-cfi --disable-fp-elim -o %t.s -O0 -relocation-model=pic
|
||||
// RUN: %compile_c %t.s -o %t.o
|
||||
// RUN: %link %t.o -o %t.exe
|
||||
// RUN: echo {break 24\nrun\np loc\n} > %t.in
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// This is a regression test on debug info to make sure that we can set a
|
||||
// breakpoint on a objective message.
|
||||
// RUN: %llvmgcc -S -O0 -g %s -o - | llc -o %t.s -O0
|
||||
// RUN: %llvmgcc -S -O0 -g %s -o - | llc -disable-cfi -o %t.s -O0
|
||||
// RUN: %compile_c %t.s -o %t.o
|
||||
// RUN: %link %t.o -o %t.exe -framework Foundation
|
||||
// RUN: echo {break randomFunc\n} > %t.in
|
||||
|
|
Loading…
Reference in New Issue