[PATCH] D60557: Explain --reproduce option.

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 23 03:33:31 PDT 2019


peter.smith added a comment.

It would be good to get at least the tar file part added to the ld.lld --help option, I remember having to use the file command the first time I used --reproduce and I think more people will use --help than look in the man page.



================
Comment at: lld/trunk/docs/ld.lld.1:411
+.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,
----------------
I think this will work fine. A suggestion that gives a bit more detail on the contents, not got a strong opinion so by all means keep the original.

Write a tar file containing all the input files needed to reproduce the link, a text file called response.txt containing the command line options and a text file called version.txt containing the output of ld.lld --version. The archive when unpacked can be used to re-run the linker with the same options and input files.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60557/new/

https://reviews.llvm.org/D60557





More information about the llvm-commits mailing list