/usr/src/gcc-8/debian/patches/gcc-fuse-ld-lld-doc.diff is in gcc-8-source 8-20180414-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # DP: Allow to use lld with -fuse-ld=ld.lld (documentation)
Index: gcc/doc/invoke.texi
===================================================================
--- a/src/gcc/doc/invoke.texi (revision 246158)
+++ a/src/gcc/doc/invoke.texi (working copy)
@@ -10501,6 +10501,10 @@
@opindex fuse-ld=gold
Use the @command{gold} linker instead of the default linker.
+@item -fuse-ld=lld
+@opindex fuse-ld=lld
+Use the LLVM @command{lld} linker instead of the default linker.
+
@cindex Libraries
@item -l@var{library}
@itemx -l @var{library}
|