[PATCH] D143600: [ELF][docs] Mention LLD_REPRODUCE and LLD_VERSION

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 12:02:46 PST 2023


MaskRay created this revision.
MaskRay added a reviewer: peter.smith.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143600

Files:
  lld/docs/ld.lld.1


Index: lld/docs/ld.lld.1
===================================================================
--- lld/docs/ld.lld.1
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143600.495909.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230208/9a75d4f9/attachment.bin>


More information about the llvm-commits mailing list