Example #1
0
 public DwarfFile()
 {
     AbbreviationTable = new DwarfAbbreviationTable();
     StringTable       = new DwarfStringTable();
     LineSection       = new DwarfLineSection();
     InfoSection       = new DwarfInfoSection();
     AddressRangeTable = new DwarfAddressRangeTable();
 }
Example #2
0
        public static void Print(this DwarfInfoSection debugInfo, TextWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException(nameof(writer));
            }

            foreach (var unit in debugInfo.Units)
            {
                Print(unit, writer);
            }
        }