Skip to content

Commit eda719f

Browse files
authored
[LLD] [Docs] explain --unresolved-symbols options (#165937)
Tested with `man lld/docs/ld.lld.1`
1 parent 5abbb56 commit eda719f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

lld/docs/ld.lld.1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,19 @@ a given pattern are handled as if they were given as arguments of
719719
Creates a separate output section for every orphan input section.
720720
.It Fl -unresolved-symbols Ns = Ns Ar value
721721
Determine how to handle unresolved symbols.
722+
.Ar value
723+
may be:
724+
.Pp
725+
.Bl -tag -width 2n -compact
726+
.It Cm report-all
727+
Report unresolved symbols (default).
728+
.It Cm ignore-in-object-files
729+
Only report unresolved symbols contained in shared libraries.
730+
.It Cm ignore-in-shared-libs
731+
Only report unresolved symbols contained in object files.
732+
.It Cm ignore-all
733+
Do not report unresolved symbols.
734+
.El
722735
.It Fl -use-android-relr-tags
723736
Use SHT_ANDROID_RELR / DT_ANDROID_RELR* tags instead of SHT_RELR / DT_RELR*.
724737
.It Fl v , Fl V

0 commit comments

Comments
 (0)