Pass -disable-cfi to llc.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 6 May 2011 18:01:58 +0000 (18:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 6 May 2011 18:01:58 +0000 (18:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130999 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC++/2006-11-30-Pubnames.cpp
test/FrontendC/2009-02-17-BitField-dbg.c
test/FrontendC/2010-01-14-StaticVariable.c
test/FrontendC/2010-02-16-DbgVarScope.c
test/FrontendObjC/2009-08-17-DebugInfo.m

index 239d3f525b7912ade2fa0e3aa242f49972f79a65..fc7beeb932cebe62bd398ebe4065b01df480b2c9 100644 (file)
@@ -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 
index 80ccc4a0ea3a5ae50ccfe1a16e0db977bec5a904..88d2cbba48d8cbe20e503d5f1db205b8b00d4191 100644 (file)
@@ -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 | \
index 80dd4d45259dde733b45c93e79a957ecbb5ac3b5..0635900bbce86ecc6bad79526a1efdb0dd3adc41 100644 (file)
@@ -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
index 1d912d0f5e5bca6e1bc06c02cdd1fddc14dd12c8..24910adc056b0322645bf6bc009d8e3b5a94cb5e 100644 (file)
@@ -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 
index 8ed7c24dc1348c02014de1b8d53a7614fc0d8a03..825bbd75358c59b064ea888a6f4ead3aa67b9cd4 100644 (file)
@@ -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