13 lines · plain
1# REQUIRES: x862# This test intentionally checks for fatal errors, and fatal errors aren't supported for testing when main is run twice.3# XFAIL: main-run-twice4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t5# RUN: not ld.lld %t -o /dev/null --fat-lto-objects 2>&1 | FileCheck %s6 7# CHECK: error:{{.*}} Invalid bitcode signature8 9.section .llvm.lto,"e",@progbits10.Lllvm.embedded.object:11 .asciz "BC\300\3365\000"12 .size .Lllvm.embedded.object, 1213