[Lldb-commits] [lldb] [lldb] Cache the symbol table for memory-read modules by default (PR #229305)
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 7 01:28:20 PDT 2026
jasonmolenda wrote:
> Any API test that creates a memory module now writes into ~/Library/Caches/lldb/IndexCache, so it will constantly produce caches on dev machine and CI machine. Change in lldb test script to set cache dir per build dir is needed as well.
I think the "creates a memory module" is the important part - if we're talking about lldb's own testsuite, there are one or two tests that exercise memory-read modules, and I should probably try to track those down (I'm betting they're mostly in the macosx directory) and disable this setting for those tests, for cleanliness reasons. But having multiple testsuites running in parallel on the same computer won't produce conflicts from the shared cache dir unless the mod date of the binary and UUID match exactly; they will be put in separate `symtab` files in the DataCacheFile directory.
https://github.com/llvm/llvm-project/pull/229305
More information about the lldb-commits
mailing list