Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / AArch64 / dwarf-cfi.s
blobf129546787602a5baaa6aa28b6017b793eabd813
1 # RUN: llvm-mc -triple arm64-linux -filetype obj -o - %s | llvm-readobj -u | FileCheck %s
3 # CHECK: [0x0] CIE length=16
4 # CHECK-NEXT: version: 1
5 # CHECK-NEXT: augmentation: zR
6 # CHECK-NEXT: code_alignment_factor: 1
7 # CHECK-NEXT: data_alignment_factor: -4
8 # CHECK-NEXT: return_address_register: 30
10 # CHECK: Program:
11 # CHECK-NEXT: DW_CFA_def_cfa: reg31 +0
13 # CHECK: [0x14] FDE length=16 cie=[0x0]
14 # CHECK-NEXT: initial_location: 0x0
15 # CHECK-NEXT: address_range: 0x4 (end : 0x4)
17 # CHECK: Program:
18 # CHECK-NEXT: DW_CFA_nop:
19 # CHECK-NEXT: DW_CFA_nop:
20 # CHECK-NEXT: DW_CFA_nop:
22 foo:
23 .cfi_startproc
24 ret
25 .cfi_endproc