xref: /aosp_15_r20/external/llvm/test/tools/gold/X86/no-map-whole-file.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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