Lines Matching refs:thinlto
3 ; Test to make sure the thinlto-object-suffix-replace option is handled
8 ; RUN: opt -thinlto-bc %s -thin-link-bitcode-file=%t1.thinlink.bc -o %t1.obj
12 ; RUN: lld-link -thinlto-index-only -entry:main %t1.obj -out:%t3.exe
13 ; RUN: cp %t1.obj.thinlto.bc %t1.obj.thinlto.bc.orig
17 ; RUN: rm -f %t1.obj.thinlto.bc
20 ; RUN: lld-link -entry:main -thinlto-index-only \
21 ; RUN: -thinlto-object-suffix-replace:".thinlink.bc;.obj" \
23 ; RUN: diff %t1.obj.thinlto.bc.orig %t1.obj.thinlto.bc
26 ; RUN: rm -f %t1.obj.thinlto.bc
27 ; RUN: not lld-link -entry:main -thinlto-index-only \
28 ; RUN: -thinlto-object-suffix-replace:"abc:def" %t1.thinlink.bc \
30 ; ERR1: -thinlto-object-suffix-replace: expects 'old;new' format, but got abc:def
33 ; so ".thinlto.bc" will simply be appended to the input file name.
34 ; RUN: rm -f %t1.thinlink.bc.thinlto.bc
35 ; RUN: lld-link -entry:main -thinlto-index-only \
36 ; RUN: -thinlto-object-suffix-replace:".abc;.obj" %t1.thinlink.bc -out:%t3.exe
37 ; RUN: ls %t1.thinlink.bc.thinlto.bc