1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as -o %t.bc %s 2*9880d681SAndroid Build Coastguard Worker; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=emit-llvm \ 3*9880d681SAndroid Build Coastguard Worker; RUN: --no-map-whole-files -r -o %t2.bc %t.bc 4*9880d681SAndroid Build Coastguard Worker; RUN: llvm-dis < %t2.bc -o - | FileCheck %s 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Worker; CHECK: main 7*9880d681SAndroid Build Coastguard Workerdefine i32 @main() { 8*9880d681SAndroid Build Coastguard Worker ret i32 0 9*9880d681SAndroid Build Coastguard Worker} 10