https://github.com/bulbazord created 
https://github.com/llvm/llvm-project/pull/178803

None

>From 3f88c5522a18c3ef1fa4da7f35ff68847ce67958 Mon Sep 17 00:00:00 2001
From: Alex Langford <[email protected]>
Date: Thu, 29 Jan 2026 16:42:31 -0800
Subject: [PATCH] [lldb][NFC] Remove unused method Module::SetUUID

---
 lldb/include/lldb/Core/Module.h |  2 --
 lldb/source/Core/Module.cpp     | 10 ----------
 2 files changed, 12 deletions(-)

diff --git a/lldb/include/lldb/Core/Module.h b/lldb/include/lldb/Core/Module.h
index 10c5982ac3c2b..f46b3a13f4f18 100644
--- a/lldb/include/lldb/Core/Module.h
+++ b/lldb/include/lldb/Core/Module.h
@@ -1102,8 +1102,6 @@ class Module : public 
std::enable_shared_from_this<Module>,
 
   bool SetArchitecture(const ArchSpec &new_arch);
 
-  void SetUUID(const lldb_private::UUID &uuid);
-
   SectionList *GetUnifiedSectionList();
 
   friend class ModuleList;
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index 0cce30a4f210f..659190833c20d 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -360,16 +360,6 @@ const lldb_private::UUID &Module::GetUUID() {
   return m_uuid;
 }
 
-void Module::SetUUID(const lldb_private::UUID &uuid) {
-  std::lock_guard<std::recursive_mutex> guard(m_mutex);
-  if (!m_did_set_uuid) {
-    m_uuid = uuid;
-    m_did_set_uuid = true;
-  } else {
-    lldbassert(0 && "Attempting to overwrite the existing module UUID");
-  }
-}
-
 llvm::Expected<TypeSystemSP>
 Module::GetTypeSystemForLanguage(LanguageType language) {
   return m_type_system_map.GetTypeSystemForLanguage(language, this, true);

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to