Home | History | Annotate | Download | only in X86
      1 ; RUN: llvm-as %s -o %t.bc
      2 ; RUN: llvm-as %p/Inputs/comdat2.ll -o %t2.bc
      3 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
      4 ; RUN:    --plugin-opt=emit-llvm \
      5 ; RUN:    -shared %t.bc %t2.bc -o %t3.bc
      6 ; RUN: llvm-dis %t3.bc -o - | FileCheck %s
      7 
      8 
      9 $foo = comdat any
     10 @foo = global i8 0, comdat
     11 
     12 ; CHECK: @foo = global i8 0, comdat
     13 
     14 ; CHECK: define void @zed() {
     15 ; CHECK:   call void @bar()
     16 ; CHECK:   ret void
     17 ; CHECK: }
     18 
     19 ; CHECK: declare void @bar()
     20