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.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
The updated description looks good to me. I even use this option to debug GNU linkers a lot (usually to check why/how they do ABC) because they don't provide this nice feature...
+@grimar @peter.smith in case they have wording suggestions.
Yeah, I actually like this option *a lot*. This is one of the best features we've added to lld.
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.
lld/trunk/docs/ld.lld.1 | ||
---|---|---|
411 | 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. |
I like that detailed explanation. I've already submitted this change, but can you submit yours to update it?
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.