File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1919/// that a warning is issued for unused -Xthinlto-distributor options.
2020// RUN: %clang -flto=thin %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
2121// RUN: -Xthinlto-distributor=a1 -Xthinlto-distributor=a2,a3 2>&1 | \
22- // RUN: FileCheck %s --check-prefix=NODIST
22+ // RUN: FileCheck %s --check-prefix=NODIST --implicit-check-not=distributor \
23+ // RUN: --implicit-check-not=remote-compiler
2324
2425// NODIST: warning: argument unused during compilation: '-Xthinlto-distributor=a1'
2526// NODIST: warning: argument unused during compilation: '-Xthinlto-distributor=a2,a3'
2930/// --thinlto-distributor=.
3031// RUN: %clang -flto=thin %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
3132// RUN: -fthinlto-distributor=d.exe -Werror 2>&1 | \
32- // RUN: FileCheck %s --check-prefix=DEFAULT
33+ // RUN: FileCheck %s --check-prefix=DEFAULT --implicit-check-not=distributor \
34+ // RUN: --implicit-check-not=remote-compiler
3335
3436// DEFAULT: ld.lld
3537// DEFAULT-SAME: "--thinlto-distributor=d.exe"
3941/// appropriate unused option warnings are issued.
4042// RUN: %clang %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
4143// RUN: -fthinlto-distributor=d.exe 2>&1 | \
42- // RUN: FileCheck %s --check-prefix=NOFLTO
44+ // RUN: FileCheck %s --check-prefix=NOFLTO --implicit-check-not=distributor \
45+ // RUN: --implicit-check-not=remote-compiler
4346
4447// NOFLTO: warning: argument unused during compilation: '-fthinlto-distributor=d.exe'
4548// NOFLTO: ld.lld
You can’t perform that action at this time.
0 commit comments