summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/ehabi-unwind.ll
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-01-23 07:57:39 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-01-23 07:57:39 +0000
commit7908480e4caf2f7ecb0b62c900039d49e7d51ebb (patch)
tree2e7cb2eef73a87bb3dde5844f065c1937cf3573b /test/CodeGen/ARM/ehabi-unwind.ll
parent7fb8b0c5d3eab5047dbec08fe46916e9c09f768c (diff)
An option to selectively enable parts of ARM EHABI support.
This change adds an new value to the --arm-enable-ehabi option that disables emitting unwinding descriptors. This mode gives a working backtrace() without the (currently broken) exception support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/ehabi-unwind.ll')
-rw-r--r--test/CodeGen/ARM/ehabi-unwind.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/ehabi-unwind.ll b/test/CodeGen/ARM/ehabi-unwind.ll
index 1ffde00365a..51595677b70 100644
--- a/test/CodeGen/ARM/ehabi-unwind.ll
+++ b/test/CodeGen/ARM/ehabi-unwind.ll
@@ -1,7 +1,8 @@
; Test that the EHABI unwind instruction generator does not encounter any
; unfamiliar instructions.
-; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -disable-fp-elim
-; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi
+; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full -disable-fp-elim
+; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full
+; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=unwind
define void @_Z1fv() nounwind {
entry: