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