[all-commits] [llvm/llvm-project] a0994c: lld-link: Let LLD_REPRODUCE control /reproduce:, l...

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Nov 27 10:39:34 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0994cbe2799bf4ec5bc6d72b4fb1e0fe638972f
      https://github.com/llvm/llvm-project/commit/a0994cbe2799bf4ec5bc6d72b4fb1e0fe638972f
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-11-27 (Fri, 27 Nov 2020)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/COFF/Options.td
    M lld/ELF/Options.td
    M lld/test/COFF/linkrepro.test

  Log Message:
  -----------
  lld-link: Let LLD_REPRODUCE control /reproduce:, like in ld.lld

Also sync help texts for the option between elf and coff ports.

Decisions:
- Do this even if /lldignoreenv is passed. /reproduce: 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.)

Original patch rebased across D68378 and D68381.

Differential Revision: https://reviews.llvm.org/D67707




More information about the All-commits mailing list