xref: /llvm-project/llvm/test/tools/gold/X86/no-map-whole-file.ll (revision 3efcfadde4cebf768f56b22a432185eb9502ea41)
1; RUN: llvm-as -o %t.bc %s
2; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=emit-llvm \
3; RUN:    --no-map-whole-files -r -o %t2.bc %t.bc
4; RUN: llvm-dis < %t2.bc -o - | FileCheck %s
5
6; CHECK: main
7
8target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
9
10define i32 @main() {
11  ret i32 0
12}
13