mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
6b87aa0046
The condition was not accurate enough and could interpret some FDEs in .eh_frame or 64-bit DWARF .debug_frame sections as CIEs. Even though such FDEs are unlikely in a normal situation, the wrong interpretation could hide an issue in a buggy generator. Differential Revision: https://reviews.llvm.org/D73886
17 lines
570 B
ArmAsm
17 lines
570 B
ArmAsm
# 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:
|