[PATCH] D131624: [lld-macho] Ensure cached objects are affected by `-object_path_lto`

Leonard Grey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 07:56:10 PDT 2022


lgrey added a comment.

In D131624#3716584 <https://reviews.llvm.org/D131624#3716584>, @steven_wu wrote:

> One thing missing is that in libLTO, the cached object is written to `-object_path_lto` using a hard-link. That is intentional to reduce the disk usage and it is faster than write a file buffer to output file. Might want to consider doing that in lld for future.

This makes a lot of sense, thanks! I'll do it in a follow-up for revertability.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131624



More information about the llvm-commits mailing list