30 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-exec 2>&1 | FileCheck %s6 7# CHECK: corrupted .eh_frame: unknown .eh_frame augmentation string:8 9.section .eh_frame,"a",@unwind10 .byte 0x0E11 .byte 0x0012 .byte 0x0013 .byte 0x0014 .byte 0x0015 .byte 0x0016 .byte 0x0017 .byte 0x0018 .byte 0x0119 .byte 0x0120 .byte 0x0021 .byte 0x0122 23 .byte 0x01 # LEB12824 .byte 0x01 # LEB12825 26 .byte 0x0127 .byte 0x0128 .byte 0x0129 .byte 0x0130