[all-commits] [llvm/llvm-project] a61891: [lld/mac] Support more flags for --reproduce

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Apr 23 11:50:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a61891d491bdd991f837d02fedf66c99e69c9a1f
      https://github.com/llvm/llvm-project/commit/a61891d491bdd991f837d02fedf66c99e69c9a1f
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M lld/MachO/DriverUtils.cpp
    M lld/test/MachO/reproduce.s

  Log Message:
  -----------
  [lld/mac] Support more flags for --reproduce

I went through the callers of `readFile()` and `addFile()` in Driver.cpp
and checked that the options that use them all get rewritten in the
--reproduce response file. -(un)exported_symbols_list and -bundle_loader
weren't, so add them.

Also spruce up the test for reproduce a bit and actually try linking
with the exptracted repro archive.

Motivated by the response file in PR50098 complaining abou the
-exported_symbols_list path being wrong :)

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




More information about the All-commits mailing list