Beispiel #1
0
 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>();
 }
Beispiel #2
0
 internal DwarfWriter(DwarfFile file, bool isLittleEndian, DiagnosticBag diagnostics) : base(file, diagnostics)
 {
     IsLittleEndian = isLittleEndian;
 }
 internal DwarfReaderWriter(DwarfFile file, DiagnosticBag diagnostics) : base(null, diagnostics)
 {
     File = file;
 }