[lld] eda719f - [LLD] [Docs] explain --unresolved-symbols options (#165937)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 2 10:25:35 PST 2025
Author: Florian Mayer
Date: 2025-11-02T10:25:31-08:00
New Revision: eda719f12cc68de5240e7a5f1c0c62cf955af343
URL: https://github.com/llvm/llvm-project/commit/eda719f12cc68de5240e7a5f1c0c62cf955af343
DIFF: https://github.com/llvm/llvm-project/commit/eda719f12cc68de5240e7a5f1c0c62cf955af343.diff
LOG: [LLD] [Docs] explain --unresolved-symbols options (#165937)
Tested with `man lld/docs/ld.lld.1`
Added:
Modified:
lld/docs/ld.lld.1
Removed:
################################################################################
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index bb1a53ad1112a..cfdde0a6c2299 100644
--- a/lld/docs/ld.lld.1
+++ b/lld/docs/ld.lld.1
@@ -719,6 +719,19 @@ a given pattern are handled as if they were given as arguments of
Creates a separate output section for every orphan input section.
.It Fl -unresolved-symbols Ns = Ns Ar value
Determine how to handle unresolved symbols.
+.Ar value
+may be:
+.Pp
+.Bl -tag -width 2n -compact
+.It Cm report-all
+Report unresolved symbols (default).
+.It Cm ignore-in-object-files
+Only report unresolved symbols contained in shared libraries.
+.It Cm ignore-in-shared-libs
+Only report unresolved symbols contained in object files.
+.It Cm ignore-all
+Do not report unresolved symbols.
+.El
.It Fl -use-android-relr-tags
Use SHT_ANDROID_RELR / DT_ANDROID_RELR* tags instead of SHT_RELR / DT_RELR*.
.It Fl v , Fl V
More information about the llvm-commits
mailing list