From 3b897943045c00509af586a7fbe95fbeaf32c12e Mon Sep 17 00:00:00 2001 From: Augusto Noronha Date: Tue, 24 Oct 2023 09:27:08 -0700 Subject: [PATCH] Reintroduce accidentally deleted "protected" keyword in SymbolFileDWARF (#69990) The "protected" was accidentally removed during refactoring of SymbolFileDWARF. Reintroduce it and also make DWARFASTParser a friend class since 040c4f4d98f3306e068521e3c218bdbc170f81f3 was merged and won't build without it, as it dependeds on a method which was made public by accident. --- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h index 646d5d9a471c41..0818ee206fe06f 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h @@ -82,6 +82,7 @@ class SymbolFileDWARF : public SymbolFileCommon { friend class DebugMapModule; friend class DWARFCompileUnit; friend class DWARFDIE; + friend class DWARFASTParser; friend class ::DWARFASTParserClang; // Static Functions @@ -321,6 +322,7 @@ class SymbolFileDWARF : public SymbolFileCommon { m_file_index = file_index; } +protected: typedef llvm::DenseMap DIEToTypePtr; typedef llvm::DenseMap DIEToVariableSP;