2014-01-28 06:38:14 +08:00
|
|
|
# RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o - \
|
|
|
|
# RUN: | llvm-dwarfdump - | FileCheck %s
|
|
|
|
|
2014-04-15 09:17:45 +08:00
|
|
|
_proc:
|
2014-01-28 06:38:14 +08:00
|
|
|
.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:
|
2015-05-12 23:25:08 +08:00
|
|
|
# The following 2 DW_CFA_nop instructions are "padding"
|
|
|
|
# CHECK: DW_CFA_nop:
|
|
|
|
# CHECK: DW_CFA_nop:
|
2014-01-28 06:38:14 +08:00
|
|
|
# CHECK-NOT: DW_CFA
|
|
|
|
# CHECK: FDE
|