[PATCH] D67461: lld-link: Make /linkrepro: take a filename, not a directory.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 12:49:24 PDT 2019


pcc added a comment.

In D67461#1675640 <https://reviews.llvm.org/D67461#1675640>, @thakis wrote:

> I realized why the behavior was different: link.exe has a /linkrepro: flag that behaves like lld-link's used to (https://www.geoffchappell.com/studies/msvc/link/link/options/linkrepro.htm?tx=37). It also honors a link_repro env var.


Yes, that's why I originally made this take a directory instead of a file name.

> So I think I'll have to revert this, and add a comment explaining why things are different.

I guess another option would be to rename this flag to `/lldlinkrepro`, which would let us implement link.exe-compatible behaviour under `/linkrepro` in the future.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D67461





More information about the llvm-commits mailing list