[Lldb-commits] [lldb] 99f5f0a - fix comment typos to cycle bots

Nico Weber via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 27 06:43:51 PDT 2021


Author: Nico Weber
Date: 2021-10-27T09:43:42-04:00
New Revision: 99f5f0a2b72bfaf0bfb527466fdd50748583559f

URL: https://github.com/llvm/llvm-project/commit/99f5f0a2b72bfaf0bfb527466fdd50748583559f
DIFF: https://github.com/llvm/llvm-project/commit/99f5f0a2b72bfaf0bfb527466fdd50748583559f.diff

LOG: fix comment typos to cycle bots

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index 205b03464534..8d9b9bf86e31 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -1724,7 +1724,7 @@ SymbolFileDWARF::GetDwoSymbolFileForCompileUnit(
     DWARFUnit &unit, const DWARFDebugInfoEntry &cu_die) {
   // If this is a Darwin-style debug map (non-.dSYM) symbol file,
   // never attempt to load ELF-style DWO files since the -gmodules
-  // support uses the same DWO machanism to specify full debug info
+  // support uses the same DWO mechanism to specify full debug info
   // files for modules. This is handled in
   // UpdateExternalModuleListIfNeeded().
   if (GetDebugMapSymfile())
@@ -2889,7 +2889,7 @@ TypeSP SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(
       }
 
       m_index->GetTypes(dwarf_decl_ctx, [&](DWARFDIE type_die) {
-        // Make sure type_die's langauge matches the type system we are
+        // Make sure type_die's language matches the type system we are
         // looking for. We don't want to find a "Foo" type from Java if we
         // are looking for a "Foo" type for C, C++, ObjC, or ObjC++.
         if (type_system &&
@@ -3351,7 +3351,7 @@ VariableSP SymbolFileDWARF::ParseVariableDIE(const SymbolContext &sc,
     SymbolFileDWARFDebugMap *debug_map_symfile = GetDebugMapSymfile();
     if (debug_map_symfile)
       // Set the module of the expression to the linked module
-      // instead of the oject file so the relocated address can be
+      // instead of the object file so the relocated address can be
       // found there.
       location.SetModule(debug_map_symfile->GetObjectFile()->GetModule());
 
@@ -3626,7 +3626,7 @@ SymbolFileDWARF::MergeBlockAbstractParameters(const DWARFDIE &block_die,
       DWARFDIE origin_of_concrete =
           GetDIE(*concrete_it).GetReferencedDIE(DW_AT_abstract_origin);
       if (origin_of_concrete == abstract_child) {
-        // The current abstract paramater is the origin of the current
+        // The current abstract parameter is the origin of the current
         // concrete parameter, just push the concrete parameter.
         merged.push_back(*concrete_it);
         ++concrete_it;


        


More information about the lldb-commits mailing list