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

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 4 11:08:58 PST 2017


On 4 February 2017 at 05:09, Sean Silva <chisophugis at gmail.com> wrote:

> While FreeBSD may be beyond the point of needing this, the experiences with
> FreeBSD can inform our behavior so that things are easy for future
> platforms. FreeBSD is hopefully not the last platform to adopt LLD as the
> system linker :)

Indeed, although I might argue that BSDs are a bit of a special case,
with our integrated kernel + tool chain + libraries + system binaries
base systems. Anyhow, I prefer to retain the output directory but
don't feel it imposes a significant difficulty if we do not.

On 4 February 2017 at 05:28, Sean Silva <chisophugis at gmail.com> wrote:
>
> How did you avoid having all of the LLD invocations from stomping on the
> same .tar file when building with `make -i`? I assume you used the
> LLD_REPRODUCE environment variable.

Yes, with LLD_REPRODUCE. Because most FreeBSD Makefiles build a single
binary per directory I didn't encounter significant stomping over the
.tar files (and I probably worked around cases where it happened by
rerunning without -i and linking one output object with ld.bfd before
trying again).


More information about the llvm-commits mailing list