[Lldb-commits] [lldb] [lldb] Add memory region info cache to Process (PR #206208)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 26 16:54:03 PDT 2026
================
@@ -2750,6 +2758,7 @@ void Process::SetCanRunCode(bool can_run_code) {
Status Process::DeallocateMemory(addr_t ptr) {
Status error;
+ m_memory_region_infos_cache.Erase(ptr, 1);
----------------
JDevlieghere wrote:
Maybe add a helper `EraseContaining` to avoid the magic/meaningless size=1 here.
https://github.com/llvm/llvm-project/pull/206208
More information about the lldb-commits
mailing list