41 instantiations of DwarfAbbrev
ILCompiler.Compiler (41)
Compiler\ObjectWriter\Dwarf\DwarfAbbrev.cs (41)
50public static readonly DwarfAbbrev CompileUnit = new([ 60public static readonly DwarfAbbrev CompileUnitDwarf5 = new([ 71public static readonly DwarfAbbrev BaseType = new([ 77public static readonly DwarfAbbrev EnumerationType = new([ 83public static readonly DwarfAbbrev EnumerationTypeNoChildren = new([ 89public static readonly DwarfAbbrev Enumerator1 = new([ 94public static readonly DwarfAbbrev Enumerator2 = new([ 99public static readonly DwarfAbbrev Enumerator4 = new([ 104public static readonly DwarfAbbrev Enumerator8 = new([ 109public static readonly DwarfAbbrev TypeDef = new([ 114public static readonly DwarfAbbrev Subprogram = new([ 122public static readonly DwarfAbbrev SubprogramNoChildren = new([ 130public static readonly DwarfAbbrev SubprogramStatic = new([ 137public static readonly DwarfAbbrev SubprogramStaticNoChildren = new([ 144public static readonly DwarfAbbrev SubprogramSpec = new([ 155public static readonly DwarfAbbrev SubprogramStaticSpec = new([ 165public static readonly DwarfAbbrev SubprogramStaticNoChildrenSpec = new([ 175public static readonly DwarfAbbrev Variable = new([ 183public static readonly DwarfAbbrev VariableLoc = new([ 191public static readonly DwarfAbbrev VariableStatic = new([ 196public static readonly DwarfAbbrev FormalParameter = new([ 204public static readonly DwarfAbbrev FormalParameterThis = new([ 213public static readonly DwarfAbbrev FormalParameterLoc = new([ 221public static readonly DwarfAbbrev FormalParameterThisLoc = new([ 230public static readonly DwarfAbbrev FormalParameterSpec = new([ 234public static readonly DwarfAbbrev FormalParameterThisSpec = new([ 239public static readonly DwarfAbbrev ClassType = new([ 244public static readonly DwarfAbbrev ClassTypeNoChildren = new([ 249public static readonly DwarfAbbrev ClassTypeDecl = new([ 254public static readonly DwarfAbbrev ClassMember = new([ 260public static readonly DwarfAbbrev ClassMemberStatic = new([ 267public static readonly DwarfAbbrev PointerType = new([ 272public static readonly DwarfAbbrev ReferenceType = new([ 277public static readonly DwarfAbbrev ArrayType = new([ 281public static readonly DwarfAbbrev SubrangeType = new([ 285public static readonly DwarfAbbrev ClassInheritance = new([ 290public static readonly DwarfAbbrev LexicalBlock = new([ 295public static readonly DwarfAbbrev TryBlock = new([ 300public static readonly DwarfAbbrev TryBlockWithChildren = new([ 305public static readonly DwarfAbbrev VoidType = new([ 309public static readonly DwarfAbbrev VoidPointerType = new([
85 references to DwarfAbbrev
ILCompiler.Compiler (85)
Compiler\ObjectWriter\Dwarf\DwarfAbbrev.cs (41)
50public static readonly DwarfAbbrev CompileUnit = new([ 60public static readonly DwarfAbbrev CompileUnitDwarf5 = new([ 71public static readonly DwarfAbbrev BaseType = new([ 77public static readonly DwarfAbbrev EnumerationType = new([ 83public static readonly DwarfAbbrev EnumerationTypeNoChildren = new([ 89public static readonly DwarfAbbrev Enumerator1 = new([ 94public static readonly DwarfAbbrev Enumerator2 = new([ 99public static readonly DwarfAbbrev Enumerator4 = new([ 104public static readonly DwarfAbbrev Enumerator8 = new([ 109public static readonly DwarfAbbrev TypeDef = new([ 114public static readonly DwarfAbbrev Subprogram = new([ 122public static readonly DwarfAbbrev SubprogramNoChildren = new([ 130public static readonly DwarfAbbrev SubprogramStatic = new([ 137public static readonly DwarfAbbrev SubprogramStaticNoChildren = new([ 144public static readonly DwarfAbbrev SubprogramSpec = new([ 155public static readonly DwarfAbbrev SubprogramStaticSpec = new([ 165public static readonly DwarfAbbrev SubprogramStaticNoChildrenSpec = new([ 175public static readonly DwarfAbbrev Variable = new([ 183public static readonly DwarfAbbrev VariableLoc = new([ 191public static readonly DwarfAbbrev VariableStatic = new([ 196public static readonly DwarfAbbrev FormalParameter = new([ 204public static readonly DwarfAbbrev FormalParameterThis = new([ 213public static readonly DwarfAbbrev FormalParameterLoc = new([ 221public static readonly DwarfAbbrev FormalParameterThisLoc = new([ 230public static readonly DwarfAbbrev FormalParameterSpec = new([ 234public static readonly DwarfAbbrev FormalParameterThisSpec = new([ 239public static readonly DwarfAbbrev ClassType = new([ 244public static readonly DwarfAbbrev ClassTypeNoChildren = new([ 249public static readonly DwarfAbbrev ClassTypeDecl = new([ 254public static readonly DwarfAbbrev ClassMember = new([ 260public static readonly DwarfAbbrev ClassMemberStatic = new([ 267public static readonly DwarfAbbrev PointerType = new([ 272public static readonly DwarfAbbrev ReferenceType = new([ 277public static readonly DwarfAbbrev ArrayType = new([ 281public static readonly DwarfAbbrev SubrangeType = new([ 285public static readonly DwarfAbbrev ClassInheritance = new([ 290public static readonly DwarfAbbrev LexicalBlock = new([ 295public static readonly DwarfAbbrev TryBlock = new([ 300public static readonly DwarfAbbrev TryBlockWithChildren = new([ 305public static readonly DwarfAbbrev VoidType = new([ 309public static readonly DwarfAbbrev VoidPointerType = new([
Compiler\ObjectWriter\Dwarf\DwarfBuilder.cs (2)
175dwarfInfoWriter.WriteStartDIE(_useDwarf5 ? DwarfAbbrev.CompileUnitDwarf5 : DwarfAbbrev.CompileUnit);
Compiler\ObjectWriter\Dwarf\DwarfInfo.cs (37)
56writer.WriteStartDIE(DwarfAbbrev.VoidType); 81writer.WriteStartDIE(DwarfAbbrev.BaseType); 107writer.WriteStartDIE(_typeRecords.Length > 0 ? DwarfAbbrev.EnumerationType : DwarfAbbrev.EnumerationTypeNoChildren); 114DwarfAbbrev abbrev = _byteSize switch { 1151 => DwarfAbbrev.Enumerator1, 1162 => DwarfAbbrev.Enumerator2, 1174 => DwarfAbbrev.Enumerator4, 1188 => DwarfAbbrev.Enumerator8, 152writer.WriteStartDIE(_typeDescriptor.IsReference != 0 ? DwarfAbbrev.ReferenceType : DwarfAbbrev.PointerType); 163writer.WriteStartDIE(DwarfAbbrev.VoidPointerType); 181writer.WriteStartDIE(DwarfAbbrev.ArrayType); 186writer.WriteStartDIE(DwarfAbbrev.SubrangeType); 270_isForwardDecl ? DwarfAbbrev.ClassTypeDecl : 271HasChildren ? DwarfAbbrev.ClassType : DwarfAbbrev.ClassTypeNoChildren); 283writer.WriteStartDIE(DwarfAbbrev.ClassInheritance); 296writer.WriteStartDIE(DwarfAbbrev.ClassMember); 308writer.WriteStartDIE(DwarfAbbrev.ClassMemberStatic); 344!method.IsStatic ? DwarfAbbrev.SubprogramSpec : 345method.ArgumentTypes.Length > 0 ? DwarfAbbrev.SubprogramStaticSpec : DwarfAbbrev.SubprogramStaticNoChildrenSpec); 360writer.WriteStartDIE(DwarfAbbrev.FormalParameterThisSpec); 368writer.WriteStartDIE(DwarfAbbrev.FormalParameterSpec); 448_thisVariableIndex >= 0 ? DwarfAbbrev.Subprogram : 449hasChildren ? DwarfAbbrev.SubprogramStatic : DwarfAbbrev.SubprogramStaticNoChildren); 545writer.WriteStartDIE(hasChildren ? DwarfAbbrev.TryBlockWithChildren : DwarfAbbrev.TryBlock); 588writer.WriteStartDIE(usesDebugLoc ? DwarfAbbrev.FormalParameterThisLoc : DwarfAbbrev.FormalParameterThis); 592writer.WriteStartDIE(usesDebugLoc ? DwarfAbbrev.FormalParameterLoc : DwarfAbbrev.FormalParameter); 597writer.WriteStartDIE(usesDebugLoc ? DwarfAbbrev.VariableLoc : DwarfAbbrev.Variable); 700writer.WriteStartDIE(DwarfAbbrev.VariableStatic);
Compiler\ObjectWriter\Dwarf\DwarfInfoWriter.cs (5)
27private readonly Stack<DwarfAbbrev> _dieStack = new(); 28private readonly Dictionary<DwarfAbbrev, int> _usedAbbrevs = new(); 54public void WriteStartDIE(DwarfAbbrev abbrev) 74var abbrev = _dieStack.Pop(); 253foreach ((DwarfAbbrev abbrev, int abbreviationCode) in _usedAbbrevs)