[all-commits] [llvm/llvm-project] cd9352: [Debuginfod] Prune cache after fetch.
Daniel Thornburgh via All-commits
all-commits at lists.llvm.org
Fri Mar 10 12:12:58 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cd935224c02fd65719ae9fd42dc89bf7b599697f
https://github.com/llvm/llvm-project/commit/cd935224c02fd65719ae9fd42dc89bf7b599697f
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M llvm/lib/Debuginfod/Debuginfod.cpp
A llvm/test/tools/llvm-debuginfod-find/cache.test
Log Message:
-----------
[Debuginfod] Prune cache after fetch.
Previously, the size of the debuginfod cache would grow without bound.
This change prunes the cache after a successful debuginfod lookup, as is
done in libdebuginfod.
The cache pruning behavior is configured by a new
DEBUGINFOD_CACHE_POLICY environment variable. The semantics of this are
the same as --thinlto_cache_policy.
Reviewed By: gulfem
Differential Revision: https://reviews.llvm.org/D145618
More information about the All-commits
mailing list