1 ; Tests whether the cache is sensitive to the dso-local bit on referenced
4 ; RUN: opt -module-hash -module-summary -o %t.bc %s
5 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache \
6 ; RUN: -r %t.bc,foo,px \
8 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache \
9 ; RUN: -r %t.bc,foo,plx \
10 ; RUN: -r %t.bc,bar,px
11 ; RUN: ls %t.cache | count 2
13 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
14 target triple = "x86_64-unknown-linux-gnu"
16 define weak void @foo() {
20 define weak ptr @bar() {