[lld] r293792 - Strip file path from the -o option while creating reproduce.txt.

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 11:39:19 PST 2017

On 1 February 2017 at 18:52, Rafael Avila de Espindola
<rafael.espindola at gmail.com> wrote:
> Can you expand a bit on the use case of preserving the full path?

During some FreeBSD experiments I built with make -i (ignore
failures), then set the reproduce environment variable and reran with
make -i. That gave me a reproduction .tar and response file for each
failing case, which I reran with ld.bfd to produce the output directly
in the target directory. This was mainly a convenience because the
FreeBSD build builds its own toolchain so it's not necessarily
straightforward to find the exact invocation used, or rebuild one
component with special CFLAGS etc. All of that said, for FreeBSD we're
beyond the point where this is needed now and I don't have a strong
feeling on it.

More information about the llvm-commits mailing list