[Lldb-commits] [lldb] 0cbad66 - [lldb/DWARF] Fix a typo in 57f99d0dc3

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 28 06:11:18 PDT 2022


Author: Pavel Labath
Date: 2022-04-28T15:11:00+02:00
New Revision: 0cbad6635475952fb432ac2af8b1fce202aaeb6e

URL: https://github.com/llvm/llvm-project/commit/0cbad6635475952fb432ac2af8b1fce202aaeb6e
DIFF: https://github.com/llvm/llvm-project/commit/0cbad6635475952fb432ac2af8b1fce202aaeb6e.diff

LOG: [lldb/DWARF] Fix a typo in 57f99d0dc3

The lambda should take a reference argument.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
index 296ec524623e..8662578336bd 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
@@ -3500,7 +3500,7 @@ bool DWARFASTParserClang::CopyUniqueClassMethodTypes(
   class_type->GetFullCompilerType();
 
   auto gather = [](DWARFDIE die, UniqueCStringMap<DWARFDIE> &map,
-                   UniqueCStringMap<DWARFDIE> map_artificial) {
+                   UniqueCStringMap<DWARFDIE> &map_artificial) {
     if (die.Tag() != DW_TAG_subprogram)
       return;
     // Make sure this is a declaration and not a concrete instance by looking


        


More information about the lldb-commits mailing list