コード例 #1
0
ファイル: DwarfReader.cs プロジェクト: tmds/LibObjectFile
 internal DwarfReader(DwarfReaderContext context, DwarfFile file, DiagnosticBag diagnostics) : base(file, diagnostics)
 {
     IsReadOnly     = context.IsInputReadOnly;
     AddressSize    = context.AddressSize;
     IsLittleEndian = context.IsLittleEndian;
     _registeredDIEPerCompilationUnit             = new Dictionary <ulong, DwarfDIE>();
     _registeredDIEPerSection                     = new Dictionary <ulong, DwarfDIE>();
     _unresolvedDIECompilationUnitReference       = new List <DwarfDIEReference>();
     _attributesWithUnresolvedDIESectionReference = new List <DwarfDIEReference>();
     OffsetToLineProgramTable                     = new Dictionary <ulong, DwarfLineProgramTable>();
     _stack = new Stack <DwarfDIE>();
     _stackWithLineProgramTable = new Stack <DwarfDIE>();
 }
コード例 #2
0
 internal DwarfWriter(DwarfFile file, bool isLittleEndian, DiagnosticBag diagnostics) : base(file, diagnostics)
 {
     IsLittleEndian = isLittleEndian;
 }
コード例 #3
0
 internal DwarfReaderWriter(DwarfFile file, DiagnosticBag diagnostics) : base(null, diagnostics)
 {
     File = file;
 }