1 @ RUN
: llvm-mc
-triple
=thumbv7k-apple-watchos2.0
.0 -filetype
=obj
-o
%t < %s
&& llvm-objdump
-unwind-info
%t | FileCheck
%s
3 @ CHECK
: Contents of __compact_unwind section
:
9 @ CHECK-LABEL
: start
: {{.*}} _test_r4_r5_r6
10 @ CHECK
: compact encoding
: 0x01000007
11 .thumb_func _test_r4_r5_r6
14 push
{r4, r5, r6, r7, lr}
26 @ CHECK-LABEL
: start
: {{.*}} _test_r4_r5_r10_r11
27 @ CHECK
: compact encoding
: 0x01000063
28 .thumb_func _test_r4_r5_r10_r11
44 @ CHECK-LABEL
: start
: {{.*}} _test_d8
45 @ CHECK
: compact encoding
: 0x02000000
59 @ CHECK-LABEL
: start
: {{.*}} _test_d8_d10_d12_d14
60 @ CHECK
: compact encoding
: 0x02000300
61 .thumb_func _test_d8_d10_d12_d14
79 @ CHECK-LABEL
: start
: {{.*}} _test_varargs
80 @ CHECK
: compact encoding
: 0x01c00001
81 .thumb_func _test_varargs
93 stm.w
r9, {r1, r2, r3}
96 @ CHECK-LABEL
: start
: {{.*}} _test_missing_lr
97 @ CHECK
: compact encoding
: 0x04000000
98 .thumb_func _test_missing_lr
108 @ CHECK-LABEL
: start
: {{.*}} _test_swapped_offsets
109 @ CHECK
: compact encoding
: 0x04000000
110 .thumb_func _test_swapped_offsets
111 _test_swapped_offsets
: