1 ; RUN: rm -rf %t && mkdir -p %t
2 ; RUN: llvm-as -o %t/bcsection.bc %s
4 ; RUN: llvm-mc -I=%t -filetype=obj -triple=x86_64-pc-win32 -o %t/bcsection.coff.bco %p/Inputs/bcsection.s
5 ; RUN: llvm-nm %t/bcsection.coff.bco | FileCheck %s --allow-empty
6 ; RUN: not llvm-lto -exported-symbol=main -exported-symbol=_main -o %t/bcsection.coff.o %t/bcsection.coff.bco
8 ; RUN: llvm-mc -I=%t -filetype=obj -triple=x86_64-unknown-linux-gnu -o %t/bcsection.elf.bco %p/Inputs/bcsection.s
9 ; RUN: llvm-nm %t/bcsection.elf.bco | FileCheck %s --allow-empty
10 ; RUN: not llvm-lto -exported-symbol=main -exported-symbol=_main -o %t/bcsection.elf.o %t/bcsection.elf.bco
12 target triple = "x86_64-unknown-linux-gnu"
14 ;; The .llvmbc section is not intended for use with LTO, so there should be nothing here