mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
09f089a39e
The DWARF-4 specification added 2 new fields in the CIE header called address_size and segment_size. Create these 2 new fields when generating dwarf-4 CIE entries, print out the new fields when dumping the CIE and update tests Differential Revision: http://reviews.llvm.org/D9558 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237145 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
508 B
ArmAsm
21 lines
508 B
ArmAsm
# 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
|