[Lldb-commits] [lldb] 95af9d8 - [NFC][lldb] Inclusive language: remove instances of master from comments in lldb

Quinn Pham via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 18 10:34:17 PST 2021


Author: Quinn Pham
Date: 2021-11-18T12:34:13-06:00
New Revision: 95af9d888b086ecfecdb54c74910467d95128734

URL: https://github.com/llvm/llvm-project/commit/95af9d888b086ecfecdb54c74910467d95128734
DIFF: https://github.com/llvm/llvm-project/commit/95af9d888b086ecfecdb54c74910467d95128734.diff

LOG: [NFC][lldb] Inclusive language: remove instances of master from comments in lldb

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master in these comments.

Reviewed By: clayborg, JDevlieghere

Differential Revision: https://reviews.llvm.org/D114123

Added: 
    

Modified: 
    lldb/source/Core/Debugger.cpp
    lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 0c73bdd58c9dd..32dcfb1ce17b9 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -488,7 +488,7 @@ void Debugger::Terminate() {
          "Debugger::Terminate called without a matching Debugger::Initialize!");
 
   if (g_debugger_list_ptr && g_debugger_list_mutex_ptr) {
-    // Clear our master list of debugger objects
+    // Clear our global list of debugger objects
     {
       std::lock_guard<std::recursive_mutex> guard(*g_debugger_list_mutex_ptr);
       for (const auto &debugger : *g_debugger_list_ptr)

diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index 2a5888038a036..2dd7ae60b231c 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -2585,7 +2585,7 @@ TypeSP SymbolFileDWARF::GetTypeForDIE(const DWARFDIE &die,
 
       type_sp = ParseType(sc, die, nullptr);
     } else if (type_ptr != DIE_IS_BEING_PARSED) {
-      // Grab the existing type from the master types lists
+      // Get the original shared pointer for this type
       type_sp = type_ptr->shared_from_this();
     }
   }


        


More information about the lldb-commits mailing list