diff options
| author | Daniel Thornburgh <dthorn@google.com> | 2022-01-14 23:10:37 +0000 |
|---|---|---|
| committer | Daniel Thornburgh <dthorn@google.com> | 2022-01-20 19:27:15 +0000 |
| commit | 6b92bb47901f3a2d4a9aa683b0365088113a729e (patch) | |
| tree | eeccf156c82b8e5d1aa09b19c9fa03dc97b4f2d3 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | 493c856484015873737d7c995cac9e34101fb9e9 (diff) | |
| download | llvm-6b92bb47901f3a2d4a9aa683b0365088113a729e.zip llvm-6b92bb47901f3a2d4a9aa683b0365088113a729e.tar.gz llvm-6b92bb47901f3a2d4a9aa683b0365088113a729e.tar.bz2 | |
[Support] [DebugInfo] Lazily create cache dir.
This change defers creating Support/Caching.cpp's cache directory until
it actually writes to the cache.
This allows using Caching library in a read-only fashion. If read-only,
the cache is guaranteed not to write to disk. This keeps tools using
DebugInfod (currently llvm-symbolizer) hermetic when not configured to
perform remote lookups.
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D117589
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
