1// REQUIRES: x86
2
3// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
4// RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
5
6.section .eh_frame,"a",@unwind
7.long 0xFFFFFFFC
8
9// CHECK:      error: corrupted .eh_frame: CIE/FDE ends past the end of the section
10// CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0x0)
11
12