Pass --disable-cfi to llc.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 3 May 2011 15:56:16 +0000 (15:56 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 3 May 2011 15:56:16 +0000 (15:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130754 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC++/2006-11-06-StackTrace.cpp
test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
test/FrontendC++/2010-08-31-ByValArg.cpp

index b79c0bf9934ac9cfb74a405843af870cb0319a89..2813c36c00409e183b0e4bbb88bfa566d814ae5a 100644 (file)
@@ -1,7 +1,7 @@
 // This is a regression test on debug info to make sure that we can get a
 // meaningful stack trace from a C++ program.
 // 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 DeepStack::deepest\nrun 17\nwhere\n} > %t.in 
index e3616da073bf7b3091f0ee646f47020180c78e04..da09c0b459be19c07bd13edb6e2e6eeb73bca25a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -S -g %s -o - | llc -O0 -o %t.s
+// RUN: %llvmgcc -S -g %s -o - | llc --disable-cfi -O0 -o %t.s
 // RUN: %compile_c %t.s -o %t.o
 // PR4025
 
index be0d354b1d983152e96200938ab7d1d6539c14d4..4ccaabd7d0c97eb997b12cf1c9a7af9c78e907b9 100644 (file)
@@ -1,7 +1,7 @@
 // This regression test checks byval arguments' debug info.
 // Radar 8367011
 // 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 get\nrun\np missing_arg.b} > %t.in