[ELF] Refine isExported/isPreemptible condition
[llvm-project.git] / lld / test / ELF / invalid-eh-frame4.s
blob60bbc7f22717c0b8ac4ab1e2dfd21de17197b124
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
4 # RUN: not ld.lld --eh-frame-hdr %t -o /dev/null 2>&1 | FileCheck %s
5 # RUN: ld.lld --eh-frame-hdr %t -o /dev/null --noinhibit-exec 2>&1 | FileCheck %s
7 # CHECK: corrupted .eh_frame: unknown .eh_frame augmentation string:
9 .section .eh_frame,"a",@unwind
10 .byte 0x0E
11 .byte 0x00
12 .byte 0x00
13 .byte 0x00
14 .byte 0x00
15 .byte 0x00
16 .byte 0x00
17 .byte 0x00
18 .byte 0x01
19 .byte 0x01
20 .byte 0x00
21 .byte 0x01
23 .byte 0x01 # LEB128
24 .byte 0x01 # LEB128
26 .byte 0x01
27 .byte 0x01
28 .byte 0x01
29 .byte 0x01