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: corrupted CIE (failed to read LEB128)
7 # CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0xC)
9 .section .eh_frame,"a",@unwind