33 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t4# RUN: not ld.lld --eh-frame-hdr %t -o /dev/null 2>&1 | FileCheck %s5# RUN: ld.lld --eh-frame-hdr %t -o /dev/null --noinhibit-exec6 7# CHECK: error: corrupted .eh_frame: unknown FDE encoding8# CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0xe)9 10.section .eh_frame,"a",@unwind11 .byte 0x0E12 .byte 0x0013 .byte 0x0014 .byte 0x0015 .byte 0x0016 .byte 0x0017 .byte 0x0018 .byte 0x0019 .byte 0x0120 21 .byte 0x50 # Augmentation string: 'P','\0'22 .byte 0x0023 24 .byte 0x0125 26 .byte 0x01 # LEB12827 .byte 0x01 # LEB12828 29 .byte 0x0130 .byte 0x0131 .byte 0x0132 .byte 0x0133