(no commit message)
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 14 Jan 2021 00:16:51 +0000 (01:16 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 14 Jan 2021 00:16:51 +0000 (01:16 +0100)
lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h

index 331f7db..4f211ed 100644 (file)
@@ -270,7 +270,7 @@ void DebugNamesDWARFIndex::GetFunctions(
       if (!ProcessFunctionDIE(
               name.GetStringRef(), main_unit, *ref, dwarf, parent_decl_ctx,
               name_type_mask,
-              [&](DWARFCompileUnit *main_unit_check, DWARFDIE die) {
+              [&](DWARFUnit *main_unit_check, DWARFDIE die) {
                 // FIXME: DWZ
                 //lldbassert(main_unit_check == main_unit);
                 if (!seen.insert(die.GetDIE()).second)
index 15b0d79..e6e2c1a 100644 (file)
@@ -267,7 +267,7 @@ public:
   DWARFDIE GetDIE(lldb::user_id_t uid);
 
   DWARFDIE GetDIEUnlocked(lldb::user_id_t uid,
-                          DWARFCompileUnit **main_unit_return = nullptr);
+                          DWARFUnit **main_unit_return = nullptr);
 
   lldb::user_id_t GetUID(DWARFUnit *main_unit, const DWARFDIE &die);