[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:02 PDT 2026
================
@@ -0,0 +1,53 @@
+//===-- MemoryRegionInfoCache.cpp -----------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Target/MemoryRegionInfoCache.h"
+#include "lldb/Core/AddressRange.h"
+#include "lldb/Target/MemoryRegionInfo.h"
+#include "lldb/Target/Process.h"
+#include "lldb/Utility/Status.h"
+
+using namespace lldb;
+using namespace lldb_private;
+
+void MemoryRegionInfoCache::Clear() { m_region_infos.Clear(); }
----------------
JDevlieghere wrote:
This should lock too.
https://github.com/llvm/llvm-project/pull/206208
More information about the lldb-commits
mailing list