llvm-for-llvmta/test/DebugInfo/X86/debug-frame-cie-id-dwarf64.s

17 lines
570 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \
# RUN: llvm-dwarfdump -debug-frame - | \
# RUN: FileCheck %s
# CHECK: 00000000 {{.*}} FDE
.section .debug_frame,"",@progbits
## This FDE was formerly wrongly interpreted as a CIE because its CIE pointer
## is similar to DWARF32 CIE id.
.long 0xffffffff # DWARF64 mark
.quad .Lend - .LCIEptr # Length
.LCIEptr:
.quad 0xffffffff # CIE pointer
.quad 0x1111abcd # Initial location
.quad 0x00010000 # Address range
.Lend: