mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-21 04:41:34 +00:00
Pass -disable-cfi to llc.
llvm-svn: 130999
This commit is contained in:
parent
6e6ed39f02
commit
b098ac2b95
@ -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…
x
Reference in New Issue
Block a user