llvm-project/llvm/unittests/Debuginfod
Daniel Thornburgh 6b92bb4790 [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
2022-01-20 19:27:15 +00:00
..
CMakeLists.txt [Support] [Debuginfod] Move HTTPClient to Debuginfod library. 2021-12-07 01:19:21 +00:00
DebuginfodTests.cpp [Support] [DebugInfo] Lazily create cache dir. 2022-01-20 19:27:15 +00:00
HTTPClientTests.cpp [Support] [Debuginfod] Move HTTPClient to Debuginfod library. 2021-12-07 01:19:21 +00:00