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 19
19
/// that a warning is issued for unused -Xthinlto-distributor options.
20
20
// RUN: %clang -flto=thin %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
21
21
// 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
23
24
24
25
// NODIST: warning: argument unused during compilation: '-Xthinlto-distributor=a1'
25
26
// NODIST: warning: argument unused during compilation: '-Xthinlto-distributor=a2,a3'
29
30
/// --thinlto-distributor=.
30
31
// RUN: %clang -flto=thin %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
31
32
// 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
33
35
34
36
// DEFAULT: ld.lld
35
37
// DEFAULT-SAME: "--thinlto-distributor=d.exe"
39
41
/// appropriate unused option warnings are issued.
40
42
// RUN: %clang %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
41
43
// 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
43
46
44
47
// NOFLTO: warning: argument unused during compilation: '-fthinlto-distributor=d.exe'
45
48
// NOFLTO: ld.lld
You can’t perform that action at this time.
0 commit comments