1// REQUIRES: x86 2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t 3// RUN: not ld.lld --eh-frame-hdr %t -o /dev/null 2>&1 | FileCheck %s 4 5// CHECK: error: corrupted .eh_frame: FDE version 1 or 3 expected, but got 2 6 7.section .eh_frame,"a",@unwind 8 .byte 0x08 9 .byte 0x00 10 .byte 0x00 11 .byte 0x00 12 .byte 0x00 13 .byte 0x00 14 .byte 0x00 15 .byte 0x00 16 .byte 0x02 17 .byte 0x00 18 .byte 0x00 19 .byte 0x00 20