diff options
| author | Daniel Thornburgh <dthorn@google.com> | 2023-03-08 14:03:09 -0800 |
|---|---|---|
| committer | Daniel Thornburgh <dthorn@google.com> | 2023-03-10 12:12:44 -0800 |
| commit | cd935224c02fd65719ae9fd42dc89bf7b599697f (patch) | |
| tree | 7bbfabf5545999fb276f96bc9cf79593dad5f6dc /mlir/lib/Bytecode/Reader/BytecodeReader.cpp | |
| parent | 14c5227c412059ec1b1ada7ba3b88f7152e34e99 (diff) | |
| download | llvm-cd935224c02fd65719ae9fd42dc89bf7b599697f.zip llvm-cd935224c02fd65719ae9fd42dc89bf7b599697f.tar.gz llvm-cd935224c02fd65719ae9fd42dc89bf7b599697f.tar.bz2 | |
[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
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
