19 lines · plain
1; Tests whether the cache is sensitive to the prevailing bit.2; RUN: rm -rf %t.cache3; RUN: opt -module-hash -module-summary -o %t.bc %s4; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache \5; RUN: -r %t.bc,foo,p -r %t.bc,bar,px6; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache \7; RUN: -r %t.bc,foo, -r %t.bc,bar,px8; RUN: ls %t.cache | count 29 10target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"11target triple = "x86_64-pc-windows-msvc19.11.0"12 13@foo = linkonce constant i32 1, comdat14$foo = comdat any15 16define ptr @bar() {17 ret ptr @foo18}19