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-unknown-unknown -o %t/bcsection.bco %p/Inputs/bcsection.s
5 ; RUN: llvm-nm --no-llvm-bc %t/bcsection.bco 2>&1 | FileCheck %s -check-prefix=NO-SYMBOLS
6 ; NO-SYMBOLS: no symbols
8 ; RUN: %gold -r -o %t/bcsection.o -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext %t/bcsection.bco
9 ; RUN: llvm-nm --no-llvm-bc %t/bcsection.o | FileCheck %s
11 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
12 target triple = "x86_64-unknown-unknown"