diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1 --- a/lld/docs/ld.lld.1 +++ b/lld/docs/ld.lld.1 @@ -877,6 +877,20 @@ segment. .El .El + +.Sh ENVIRONMENT VARIABLES +.Bl -tag -width LC_CTYPE +.It Ev LLD_REPRODUCE +Create a reproduce tarball with the specified filename. If +.Fl -reproduce +is specified, +.Fl -reproduce +takes precedence. +.It Ev LLD_VERSION +ld.lld creates a section named +.Cm .comment +indicating its version. The version string can be overridden by this environment variable. + .Sh IMPLEMENTATION NOTES .Nm Ap s handing of archive files (those with a