[lld-macho] Hardlink -object_path_lto files to cache when possible
authorLeonard Grey <lgrey@chromium.org>
Fri, 2 Sep 2022 17:50:01 +0000 (13:50 -0400)
committerLeonard Grey <lgrey@chromium.org>
Wed, 7 Sep 2022 18:27:43 +0000 (14:27 -0400)
commita5764912fb484a02a07239674403936caafaa6e5
tree1f435b9d4363ad217dd82a8f96c1301019c9fca4
parentde4a2b7381b73952ef4c580f2ee4094199e90622
[lld-macho] Hardlink -object_path_lto files to cache when possible

This is a follow-up to https://reviews.llvm.org/D131624 (specifically to https://reviews.llvm.org/D131624#3716584)

Differential revision: https://reviews.llvm.org/D133218
lld/MachO/LTO.cpp
lld/test/MachO/lto-object-path.ll