[Lldb-commits] [lldb] [lldb][Windows] Key lldb-server's loaded-module list by base address (PR #223445)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 15 09:03:28 PDT 2026


================
@@ -0,0 +1,81 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_SOURCE_PLUGINS_PROCESS_WINDOWS_COMMON_LOADEDMODULELIST_H
+#define LLDB_SOURCE_PLUGINS_PROCESS_WINDOWS_COMMON_LOADEDMODULELIST_H
+
+#include "lldb/Utility/FileSpec.h"
+#include "lldb/lldb-types.h"
+#include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/SmallVector.h"
+
+#include <map>
+#include <optional>
+
+namespace lldb_private {
+
+/// The images mapped into the inferior. The same file can be mapped more than
+/// once, and an UNLOAD_DLL_DEBUG_EVENT only carries a base address, so every
+/// mapping has to be resolvable back to its file.
+class LoadedModuleList {
+  using Container = std::map<FileSpec, llvm::SmallVector<lldb::addr_t, 1>>;
----------------
charles-zablit wrote:

Added 👍 

https://github.com/llvm/llvm-project/pull/223445


More information about the lldb-commits mailing list