File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1
1
// REQUIRES: lld
2
2
3
- /// https://github.com/llvm/llvm-project/issues/159125.
4
- // XFAIL: llvm-driver
5
-
6
3
/// Check DTLTO options are forwarded to the linker.
7
4
8
5
/// Check that options are forwarded as expected with --thinlto-distributor=.
15
12
// FORWARD: filename.py:[[CLANG:.*]]
16
13
// FORWARD: ld.lld
17
14
// FORWARD-SAME: "--thinlto-distributor=d.exe"
18
- // FORWARD-SAME: "--thinlto-remote-compiler={{. *}}[[CLANG]]"
15
+ // FORWARD-SAME: "--thinlto-remote-compiler={{[^"] *}}[[CLANG]]"
19
16
// FORWARD-SAME: "--thinlto-distributor-arg=a1"
20
17
// FORWARD-SAME: "--thinlto-distributor-arg=a2"
21
18
// FORWARD-SAME: "--thinlto-distributor-arg=a3"
39
36
// RUN: FileCheck %s --input-file=%t_default.log --check-prefix=DEFAULT \
40
37
// RUN: --implicit-check-not=distributor --implicit-check-not=remote-compiler
41
38
39
+ // DEFAULT: filename.py:[[CLANG:.*]]
42
40
// DEFAULT: ld.lld
43
41
// DEFAULT-SAME: "--thinlto-distributor=d.exe"
44
- // DEFAULT-SAME: "--thinlto-remote-compiler={{[^"]+}} "
42
+ // DEFAULT-SAME: "--thinlto-remote-compiler={{[^"]*}}[[CLANG]] "
45
43
46
44
/// Check that nothing is forwarded when the compiler is not in LTO mode, and that
47
45
/// appropriate unused option warnings are issued.
Original file line number Diff line number Diff line change 1
1
// REQUIRES: lld
2
2
3
- /// https://github.com/llvm/llvm-project/issues/159125.
4
- // XFAIL: llvm-driver
5
-
6
3
/// Check DTLTO options are forwarded to the linker.
7
4
8
5
/// Check that options are forwarded as expected with --thinlto-distributor=.
15
12
// FORWARD: filename.py:[[CLANG:.*]]
16
13
// FORWARD: prospero-lld
17
14
// FORWARD-SAME: "--thinlto-distributor=d.exe"
18
- // FORWARD-SAME: "--thinlto-remote-compiler={{. *}}[[CLANG]]"
15
+ // FORWARD-SAME: "--thinlto-remote-compiler={{[^"] *}}[[CLANG]]"
19
16
// FORWARD-SAME: "--thinlto-distributor-arg=a1"
20
17
// FORWARD-SAME: "--thinlto-distributor-arg=a2"
21
18
// FORWARD-SAME: "--thinlto-distributor-arg=a3"
42
39
// DEFAULT: filename.py:[[CLANG:.*]]
43
40
// DEFAULT: prospero-lld
44
41
// DEFAULT-SAME: "--thinlto-distributor=d.exe"
45
- // DEFAULT-SAME: "--thinlto-remote-compiler={{. *}}[[CLANG]]"
42
+ // DEFAULT-SAME: "--thinlto-remote-compiler={{[^"] *}}[[CLANG]]"
46
43
47
44
/// Check that the arguments are forwarded unconditionally even when the
48
45
/// compiler is not in LTO mode.
You can’t perform that action at this time.
0 commit comments