debug-frame-cie-id-dwarf64.s
570 Bytes
# 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: