1 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos11.0 %s | llvm-objdump --unwind-info - | FileCheck %s
3 # Check that we emit the right encoding for the no-personality case.
5 # CHECK: Contents of __compact_unwind section:
6 # CHECK: Entry at offset {{.+}}
7 # CHECK: start: {{.+}} ltmp0
8 # CHECK: length: {{.+}}
9 # CHECK: compact encoding: 0x02001000
10 # CHECK: Entry at offset {{.+}}
11 # CHECK: start: {{.+}} __Z3foov
12 # CHECK: length: {{.+}}
13 # CHECK: compact encoding: 0x04000000
14 # CHECK: Entry at offset {{.+}}
15 # CHECK: start: {{.+}} _main
16 # CHECK: length: {{.+}}
17 # CHECK: compact encoding: 0x04000000
20 .section __TEXT,__text,regular,pure_instructions
21 .build_version macos, 11, 0
27 .cfi_def_cfa_offset 16
39 .cfi_def_cfa_offset 32
40 stp x29
, x30
, [sp
, #16]
47 ldp x29
, x30
, [sp
, #16]
57 .cfi_def_cfa_offset 32
58 stp x29
, x30
, [sp
, #16]
68 ldp x29
, x30
, [sp
, #16]
73 .subsections_via_symbols