[lld] r331133 - Add -warn-backrefs (r329636) to lld's man page

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 28 19:18:48 PDT 2018


Author: emaste
Date: Sat Apr 28 19:18:48 2018
New Revision: 331133

URL: http://llvm.org/viewvc/llvm-project?rev=331133&view=rev
Log:
Add -warn-backrefs (r329636) to lld's man page


Modified:
    lld/trunk/docs/ld.lld.1

Modified: lld/trunk/docs/ld.lld.1
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/ld.lld.1?rev=331133&r1=331132&r2=331133&view=diff
==============================================================================
--- lld/trunk/docs/ld.lld.1 (original)
+++ lld/trunk/docs/ld.lld.1 Sat Apr 28 19:18:48 2018
@@ -3,7 +3,7 @@
 .\"
 .\" This man page documents only lld's ELF linking support, obtained originally
 .\" from FreeBSD.
-.Dd February 9, 2018
+.Dd April 28, 2018
 .Dt LD.LLD 1
 .Os
 .Sh NAME
@@ -401,6 +401,10 @@ Display the version number and exit.
 .It Fl v
 Display the version number and proceed with linking if object files are
 specified.
+.It Fl -warn-backrefs
+Warn about reverse or cyclic dependencies to or between static archives.
+This can be used to ensure linker invocation remains compatible with
+traditional Unix-like linkers.
 .It Fl -warn-common
 Warn about duplicate common symbols.
 .It Fl -warn-unresolved-symbols
@@ -525,3 +529,8 @@ may produce different results compared t
 In practice, large bodies of third party software have been linked with
 .Nm
 without material issues.
+.Pp
+The
+.Fl -warn-backrefs
+option may be used to identify a linker invocation that may be incompatible
+with traditional Unix-like linker behavior.




More information about the llvm-commits mailing list