We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb25cda commit 44abe76Copy full SHA for 44abe76
clang/test/Driver/DTLTO/dtlto.c
@@ -36,11 +36,13 @@
36
// NODIST: warning: argument unused during compilation: '-Xthinlto-distributor=a2,a3'
37
// NODIST: ld.lld
38
39
+/// Create a response file to check the default behavior.
40
+// RUN: echo " \"%/s\" -### -fuse-ld=lld --target=x86_64-linux-gnu \
41
+// RUN: -fthinlto-distributor=d.exe" > %t_l2.rsp
42
43
/// Check the expected arguments are forwarded by default with only
44
/// --thinlto-distributor=.
-// RUN: %clang --target=x86_64-linux-gnu -fthinlto-distributor=d.exe \
-// RUN: -fuse-ld=lld -### %s 2>&1 | \
45
+// RUN: %clang -flto=thin @%t_l2.rsp 2>&1 | \
46
// RUN: FileCheck @%t_f.rsp --check-prefix=DEFAULT
47
48
// DEFAULT: ld.lld
0 commit comments