summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit482cdc4ebd0e3a8c87bb555e155f5c7b574b5a88 (patch)
tree5cb08e18ac7f1623b87dc188843ce2eb68f34052 /llvm/test/CodeGen/ARM/ehabi-unwind.ll
parent6b90c5d03e6e22c2e012bb7952244ce32e22063e (diff)
downloadbcm5719-llvm-482cdc4ebd0e3a8c87bb555e155f5c7b574b5a88.tar.gz
bcm5719-llvm-482cdc4ebd0e3a8c87bb555e155f5c7b574b5a88.zip
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. llvm-svn: 148686
Diffstat (limited to 'llvm/test/CodeGen/ARM/ehabi-unwind.ll')
-rw-r--r--llvm/test/CodeGen/ARM/ehabi-unwind.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/ehabi-unwind.ll b/llvm/test/CodeGen/ARM/ehabi-unwind.ll
index 1ffde00365a..51595677b70 100644
--- a/llvm/test/CodeGen/ARM/ehabi-unwind.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud