Skip to content

Commit 3d570a5

Browse files
committed
[ELF][docs] Mention LLD_REPRODUCE and LLD_VERSION
Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D143600
1 parent 8c85550 commit 3d570a5

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

lld/docs/ld.lld.1

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.\"
55
.\" This man page documents only lld's ELF linking support, obtained originally
66
.\" from FreeBSD.
7-
.Dd May 12, 2019
7+
.Dd Feb 9, 2023
88
.Dt LD.LLD 1
99
.Os
1010
.Sh NAME
@@ -877,6 +877,22 @@ Create a
877877
segment.
878878
.El
879879
.El
880+
881+
.Sh ENVIRONMENT VARIABLES
882+
.Bl -tag -width LC_CTYPE
883+
.It Ev LLD_REPRODUCE
884+
Create a reproduce tarball with the specified filename. If
885+
.Fl -reproduce
886+
is specified,
887+
.Fl -reproduce
888+
takes precedence.
889+
.It Ev LLD_VERSION
890+
ld.lld creates a section named
891+
.Cm .comment
892+
containing the LLD version string. The version string can be overridden by this environment variable,
893+
which is useful to eliminate differences in the binary caused by LLD version number differences.
894+
.El
895+
880896
.Sh IMPLEMENTATION NOTES
881897
.Nm Ap s
882898
handing of archive files (those with a

0 commit comments

Comments
 (0)