[PATCH] D67707: lld-link: Let LLD_REPRODUCE control /linkrepro:, like in ld.lld
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 06:50:08 PDT 2019
thakis created this revision.
thakis added a reviewer: ruiu.
Herald added subscribers: MaskRay, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
Also sync help texts for the option between elf and coff ports.
Decisions:
- Do this even if /lldignoreenv is passed. /linkrepro: does not affect the main output, and this makes the env var more convenient to use. (On the other hand, it's now possible to set this env var and forget about it, and all future builds in the same shell will be much slower. That's true for ld.lld, but posix shells have an easy way to set an env var for a single command; in cmd.exe this is not possible without contortions. Then again, lld-link runs in posix shells too.)
- Call the env var LLD_REPRODUCE like in ld.lld even though the flag is called /linkrepro: instead of --reproduce in lld-link.
https://reviews.llvm.org/D67707
Files:
lld/COFF/Driver.cpp
lld/COFF/Options.td
lld/ELF/Options.td
lld/test/COFF/linkrepro.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67707.220659.patch
Type: text/x-patch
Size: 4422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190918/7f2ae65e/attachment.bin>
More information about the llvm-commits
mailing list