[Lldb-commits] [PATCH] D115951: Cache the manual DWARF index out to the LLDB cache directory when the LLDB index cache is enabled.
walter erquinigo via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 17 13:17:25 PST 2021
wallace added inline comments.
================
Comment at: lldb/include/lldb/Symbol/Symtab.h:279
m_mutex; // Provide thread safety for this symbol table
- bool m_file_addr_to_index_computed : 1, m_name_indexes_computed : 1;
+ bool m_file_addr_to_index_computed : 1, m_name_indexes_computed : 1,
+ m_loaded_from_cache : 1, m_saved_to_cache : 1;
----------------
teach me C++. What is this? Is everything stored as part of a single 8 byte section in memory?
================
Comment at: lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py:40-41
+ command = "statistics dump "
+ if f:
+ f.write('(lldb) %s\n' % (command))
+ self.ci.HandleCommand(command, return_obj, False)
----------------
i'm curious, why do you do that?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115951/new/
https://reviews.llvm.org/D115951
More information about the lldb-commits
mailing list