brintos

brintos / llvm-project-archived public Read only

0
0
Text · 628 B · a4b94f2 Raw
23 lines · plain
1; Tests whether the cache is sensitive to the dso-local bit on referenced2; globals.3; RUN: rm -rf %t.cache4; RUN: opt -module-hash -module-summary -o %t.bc %s5; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache \6; RUN:   -r %t.bc,foo,px \7; RUN:   -r %t.bc,bar,px8; 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,px11; RUN: ls %t.cache | count 212 13target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"14target triple = "x86_64-unknown-linux-gnu"15 16define weak void @foo() {17  ret void18}19 20define weak ptr @bar() {21  ret ptr @foo22}23