summaryrefslogtreecommitdiff
path: root/test/MC/ARM/dwarf-cfi-initial-state.s
blob: 0d1c08af7282efd52653466520f2aaca8bbd86e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o - \
# RUN:     | llvm-dwarfdump - | FileCheck %s

_proc:
.cfi_sections .debug_frame
.cfi_startproc
bx lr
.cfi_endproc

# CHECK: .debug_frame contents:
# CHECK: CIE
# CHECK-NOT: DW_CFA
# When llvm-dwarfdump prints the full info for the DW_CFA_def_cfa
# field, we can check that here too.
# CHECK: DW_CFA_def_cfa:
# CHECK-NOT: DW_CFA
# CHECK: FDE