================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to