aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2025-11-02 10:25:31 -0800
committerGitHub <noreply@github.com>2025-11-02 10:25:31 -0800
commiteda719f12cc68de5240e7a5f1c0c62cf955af343 (patch)
treeb92afa6e3ecbc7a08c9d9d67e005bbe43f981c82
parent5abbb568fd8fb537dfc44a750b745b0f15f98867 (diff)
downloadllvm-eda719f12cc68de5240e7a5f1c0c62cf955af343.zip
llvm-eda719f12cc68de5240e7a5f1c0c62cf955af343.tar.gz
llvm-eda719f12cc68de5240e7a5f1c0c62cf955af343.tar.bz2
[LLD] [Docs] explain --unresolved-symbols options (#165937)
Tested with `man lld/docs/ld.lld.1`
-rw-r--r--lld/docs/ld.lld.113
1 files changed, 13 insertions, 0 deletions
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index bb1a53a..cfdde0a 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