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

llvm-svn: 331133
This commit is contained in:
Ed Maste 2018-04-29 02:18:48 +00:00
parent b18cd6d1d1
commit 59c4962c1d
1 changed files with 10 additions and 1 deletions

View File

@ -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 to traditional linkers.
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.