llvm-project/llvm/test/DebugInfo/X86/eh-frame-cie-id.s

16 lines
578 B
ArmAsm

# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \
# RUN: not --crash llvm-dwarfdump -debug-frame - 2>&1 | \
# RUN: FileCheck %s
# CHECK: Parsing FDE data at 0 failed due to missing CIE
.section .eh_frame,"a",@unwind
## This FDE was formerly wrongly interpreted as a CIE because its CIE pointer
## is similar to CIE id of a .debug_frame FDE.
.long .Lend - .LCIEptr # Length
.LCIEptr:
.long 0xffffffff # CIE pointer
.quad 0x1111abcd # Initial location
.quad 0x00010000 # Address range
.Lend: