summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/ehabi-mc-cantunwind.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/ehabi-mc-cantunwind.ll')
-rw-r--r--test/CodeGen/ARM/ehabi-mc-cantunwind.ll14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/ehabi-mc-cantunwind.ll b/test/CodeGen/ARM/ehabi-mc-cantunwind.ll
new file mode 100644
index 0000000..698d76e
--- /dev/null
+++ b/test/CodeGen/ARM/ehabi-mc-cantunwind.ll
@@ -0,0 +1,14 @@
+; RUN: llc -mtriple arm-unknown-linux-gnueabi \
+; RUN: -arm-enable-ehabi -arm-enable-ehabi-descriptors \
+; RUN: -filetype=obj -o - %s \
+; RUN: | llvm-objdump -s - \
+; RUN: | FileCheck %s
+
+define void @test() nounwind {
+entry:
+ ret void
+}
+
+; CHECK: section .text
+; CHECK: section .ARM.exidx
+; CHECK-NEXT: 0000 00000000 01000000
OpenPOWER on IntegriCloud