[PATCH] D35412: [ELF] - Fix incorrect object file use with --reproduce option.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 11:20:49 PDT 2017


George Rimar via Phabricator <reviews at reviews.llvm.org> writes:

> In this patch I added new option --reproduce-use which informs linker that it runs under
> debug reproduce environment and should never use absolute pathes, but convert them to relative. 
> That fixes issue I am observing.

That is pretty much a builtin fakechroot. I can see the usefulness since
fakechroot is not convenient to use.

So I am ok with it, but please update the comment and documentation to
say what it does (append a prefix to abs paths). Rui, what do you think?

Could this use the sysroot functionality? Does it work if the original
invocation had a --sysroot?

Cheers,
Rafael


More information about the llvm-commits mailing list