view test/MC/ARM/dwarf-cfi-initial-state.s @ 111:3e4d254d74d9

resolve some warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 02 Feb 2016 19:38:53 +0900
parents afa8332a0e37
children 803732b1fca8
line wrap: on
line source

# 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:
# The following 2 DW_CFA_nop instructions are "padding"
# CHECK: DW_CFA_nop:
# CHECK: DW_CFA_nop:
# CHECK-NOT: DW_CFA
# CHECK: FDE