-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[LLD] [Docs] explain --unresolved-symbols options #165937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LLD] [Docs] explain --unresolved-symbols options #165937
Conversation
Created using spr 1.3.7
|
@llvm/pr-subscribers-lld Author: Florian Mayer (fmayer) ChangesTested with Full diff: https://github.com/llvm/llvm-project/pull/165937.diff 1 Files Affected:
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index bb1a53ad1112a..297596d50c2c6 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.
+.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. Ignore if the are
+contained in object files.
+.It Cm ignore-in-shared-libs
+Only report unresolved symbols contained in object files. Ignore if they are
+contained in shared libraries.
+.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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with
groff -t -e -mandoc -Tascii lld/docs/ld.lld.1 | less
(Easier way: man lld/docs/ld.lld.1)
Thanks |
Created using spr 1.3.7
lld/docs/ld.lld.1
Outdated
| .It Cm report-all | ||
| Report unresolved symbols (default). | ||
| .It Cm ignore-in-object-files | ||
| Only report unresolved symbols contained in shared libraries. Ignore if the are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: they/they
Actually, suggest "Report unresolved symbols from shared libraries." and omit "Ignore ..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Tested with `man lld/docs/ld.lld.1`
Tested with
man lld/docs/ld.lld.1