Lines Matching refs:thinlto
7 ; RUN: llvm-as %p/Inputs/thinlto.ll -o 2.o
8 ; RUN: ld.lld --plugin-opt=thinlto-index-only -shared 1.o 2.o -o 3
9 ; RUN: ls 2.o.thinlto.bc
16 ; RUN: opt -module-summary %p/Inputs/thinlto.ll -o 2.o
20 ; RUN: ld.lld --plugin-opt=thinlto-index-only -shared 1.o 2.o -o 4
21 ; RUN: llvm-bcanalyzer -dump 1.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND1
22 ; RUN: llvm-bcanalyzer -dump 2.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND2
26 ; RUN: rm -f 2.o.thinlto.bc 4
27 ; RUN: ld.lld --plugin-opt=thinlto-index-only -shared 1.o 3.o --start-lib 2.o --end-lib -o 4
28 ; RUN: llvm-dis < 2.o.thinlto.bc | grep -q '\^0 = module:'
32 ;; Test LLD generates empty imports file either because of thinlto-emit-imports-files option.
33 ; RUN: rm -f 1.o.thinlto.bc 1.o.imports
34 ; RUN: ld.lld --plugin-opt=thinlto-index-only -shared 2.o --start-lib 1.o --end-lib \
35 ; RUN: --plugin-opt=thinlto-emit-imports-files -o 3
36 ; RUN: ls 1.o.thinlto.bc
40 ; RUN: rm -f 1.o.thinlto.bc
42 ; RUN: ld.lld --plugin-opt=thinlto-index-only -shared dummy.o --start-lib 1.o --end-lib -o /dev/null
43 ; RUN: ls 1.o.thinlto.bc
48 ;; Inputs/thinlto.ll, as it imports from the latter.
62 ;; The backend index for Input/thinlto.ll contains summaries from itself only,