[Support] Improve Caching conformance with Support library behavior
authorNoah Shutty <shutty@google.com>
Thu, 4 Nov 2021 19:59:59 +0000 (12:59 -0700)
committerPetr Hosek <phosek@google.com>
Thu, 4 Nov 2021 20:00:44 +0000 (13:00 -0700)
commitd788c44f5cddb3e73069cd4d965bbf55b0d602d5
tree728ea3a88252303ed623da0524b528dea987109d
parent48dc5c8e731b1198c4ba4b2f08b235c55e6d5aef
[Support] Improve Caching conformance with Support library behavior

This diff makes several amendments to the local file caching mechanism
which was migrated from ThinLTO to Support in
rGe678c51177102845c93529d457b020f969125373 in response to follow-up
discussion on that commit.

Patch By: noajshu

Differential Revision: https://reviews.llvm.org/D113080
14 files changed:
clang/lib/CodeGen/BackendUtil.cpp
lld/COFF/LTO.cpp
lld/ELF/LTO.cpp
lld/MachO/LTO.cpp
lld/wasm/LTO.cpp
llvm/include/llvm/LTO/LTO.h
llvm/include/llvm/Support/Caching.h
llvm/lib/LTO/LTO.cpp
llvm/lib/LTO/LTOBackend.cpp
llvm/lib/LTO/LTOCodeGenerator.cpp
llvm/lib/Support/Caching.cpp
llvm/tools/gold/gold-plugin.cpp
llvm/tools/llvm-lto/llvm-lto.cpp
llvm/tools/llvm-lto2/llvm-lto2.cpp