[all-commits] [llvm/llvm-project] c931ff: [lld-macho] Add LTO cache support
Leonard Grey via All-commits
all-commits at lists.llvm.org
Thu Jul 15 09:59:32 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c931ff72bde42846db4530893a94c044879c5ae9
https://github.com/llvm/llvm-project/commit/c931ff72bde42846db4530893a94c044879c5ae9
Author: Leonard Grey <lgrey at chromium.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/LTO.cpp
M lld/MachO/LTO.h
M lld/MachO/Options.td
A lld/test/MachO/lto-cache.ll
Log Message:
-----------
[lld-macho] Add LTO cache support
This adds support for the lld-only `--thinlto-cache-policy` option, as well as
implementations for ld64's `-cache_path_lto`, `-prune_interval_lto`,
`-prune_after_lto`, and `-max_relative_cache_size_lto`.
Test is adapted from lld/test/ELF/lto/cache.ll
Differential Revision: https://reviews.llvm.org/D105922
More information about the All-commits
mailing list