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
5 // CHECK
: error
: corrupted
.eh_frame: FDE version 1 or 3 expected, but got 2
7 .section .eh_frame,"a",@unwind