Skip to content

Commit 3b89794

Browse files
authored
Reintroduce accidentally deleted "protected" keyword in SymbolFileDWARF (llvm#69990)
The "protected" was accidentally removed during refactoring of SymbolFileDWARF. Reintroduce it and also make DWARFASTParser a friend class since 040c4f4 was merged and won't build without it, as it dependeds on a method which was made public by accident.
1 parent f65cd04 commit 3b89794

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class SymbolFileDWARF : public SymbolFileCommon {
8282
friend class DebugMapModule;
8383
friend class DWARFCompileUnit;
8484
friend class DWARFDIE;
85+
friend class DWARFASTParser;
8586
friend class ::DWARFASTParserClang;
8687

8788
// Static Functions
@@ -321,6 +322,7 @@ class SymbolFileDWARF : public SymbolFileCommon {
321322
m_file_index = file_index;
322323
}
323324

325+
protected:
324326
typedef llvm::DenseMap<const DWARFDebugInfoEntry *, Type *> DIEToTypePtr;
325327
typedef llvm::DenseMap<const DWARFDebugInfoEntry *, lldb::VariableSP>
326328
DIEToVariableSP;

0 commit comments

Comments
 (0)