[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / invalid-eh-frame6.s
blob68b79c725d0c60ecfdf3388078d6fe7bc1987f8c
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
6 # CHECK: error: corrupted .eh_frame: unknown FDE encoding
7 # CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0xE)
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
20 .byte 0x50 # Augmentation string: 'P','\0'
21 .byte 0x00
23 .byte 0x01
25 .byte 0x01 # LEB128
26 .byte 0x01 # LEB128
28 .byte 0x01
29 .byte 0x01
30 .byte 0x01
31 .byte 0x01