]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/invalid-eh-frame9.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / invalid-eh-frame9.s
1 # REQUIRES: x86
2
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
6 # CHECK: error: corrupted .eh_frame: CIE is too small
7
8 .section .eh_frame
9   .byte 0x03
10   .byte 0x00
11   .byte 0x00
12   .byte 0x00
13   .byte 0x00
14   .byte 0x00
15   .byte 0x00