[PATCH] D60557: Explain --reproduce option.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 11 02:27:00 PDT 2019


ruiu created this revision.
ruiu added a reviewer: emaste.
Herald added a project: LLVM.

I think --reproduce is no longer a debug-only option but a useful
option that a common user may want to use. So, this patch updates
the description of the option in the manual page.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60557

Files:
  lld/docs/ld.lld.1


Index: lld/docs/ld.lld.1
===================================================================
--- lld/docs/ld.lld.1
+++ lld/docs/ld.lld.1
@@ -397,8 +397,10 @@
 .Fl -push-state.
 .It Fl -relocatable , Fl r
 Create relocatable object file.
-.It Fl -reproduce Ns = Ns Ar value
-Dump linker invocation and input files for debugging.
+.It Fl -reproduce Ns = Ns Ar path
+Write a tar file containing all input files and a text file describing the link invocation to
+.Ar path,
+so that you can easily re-run the linker with the same options and input files.
 .It Fl -retain-symbols-file Ns = Ns Ar file
 Retain only the symbols listed in the file.
 .It Fl -rpath Ns = Ns Ar value , Fl R Ar value


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60557.194651.patch
Type: text/x-patch
Size: 688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190411/f1c6fb76/attachment.bin>


More information about the llvm-commits mailing list