aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/gold/no-map-whole-file.ll
blob: 4c261d70a2497266da8d02d077b3a1ef21d6eb6d (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as -o %t.bc %s
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=emit-llvm \
; RUN:    --no-map-whole-files -r -o %t2.bc %t.bc
; RUN: llvm-dis < %t2.bc -o - | FileCheck %s

; CHECK: main
define i32 @main() {
  ret i32 0
}