40 instantiations of DwarfAbbrev
ILCompiler.Compiler (40)
Compiler\ObjectWriter\Dwarf\DwarfAbbrev.cs (40)
50
public static readonly DwarfAbbrev CompileUnit =
new
([
60
public static readonly DwarfAbbrev BaseType =
new
([
66
public static readonly DwarfAbbrev EnumerationType =
new
([
72
public static readonly DwarfAbbrev EnumerationTypeNoChildren =
new
([
78
public static readonly DwarfAbbrev Enumerator1 =
new
([
83
public static readonly DwarfAbbrev Enumerator2 =
new
([
88
public static readonly DwarfAbbrev Enumerator4 =
new
([
93
public static readonly DwarfAbbrev Enumerator8 =
new
([
98
public static readonly DwarfAbbrev TypeDef =
new
([
103
public static readonly DwarfAbbrev Subprogram =
new
([
111
public static readonly DwarfAbbrev SubprogramNoChildren =
new
([
119
public static readonly DwarfAbbrev SubprogramStatic =
new
([
126
public static readonly DwarfAbbrev SubprogramStaticNoChildren =
new
([
133
public static readonly DwarfAbbrev SubprogramSpec =
new
([
144
public static readonly DwarfAbbrev SubprogramStaticSpec =
new
([
154
public static readonly DwarfAbbrev SubprogramStaticNoChildrenSpec =
new
([
164
public static readonly DwarfAbbrev Variable =
new
([
172
public static readonly DwarfAbbrev VariableLoc =
new
([
180
public static readonly DwarfAbbrev VariableStatic =
new
([
185
public static readonly DwarfAbbrev FormalParameter =
new
([
193
public static readonly DwarfAbbrev FormalParameterThis =
new
([
202
public static readonly DwarfAbbrev FormalParameterLoc =
new
([
210
public static readonly DwarfAbbrev FormalParameterThisLoc =
new
([
219
public static readonly DwarfAbbrev FormalParameterSpec =
new
([
223
public static readonly DwarfAbbrev FormalParameterThisSpec =
new
([
228
public static readonly DwarfAbbrev ClassType =
new
([
233
public static readonly DwarfAbbrev ClassTypeNoChildren =
new
([
238
public static readonly DwarfAbbrev ClassTypeDecl =
new
([
243
public static readonly DwarfAbbrev ClassMember =
new
([
249
public static readonly DwarfAbbrev ClassMemberStatic =
new
([
256
public static readonly DwarfAbbrev PointerType =
new
([
261
public static readonly DwarfAbbrev ReferenceType =
new
([
266
public static readonly DwarfAbbrev ArrayType =
new
([
270
public static readonly DwarfAbbrev SubrangeType =
new
([
274
public static readonly DwarfAbbrev ClassInheritance =
new
([
279
public static readonly DwarfAbbrev LexicalBlock =
new
([
284
public static readonly DwarfAbbrev TryBlock =
new
([
289
public static readonly DwarfAbbrev CatchBlock =
new
([
294
public static readonly DwarfAbbrev VoidType =
new
([
298
public static readonly DwarfAbbrev VoidPointerType =
new
([
83 references to DwarfAbbrev
ILCompiler.Compiler (83)
Compiler\ObjectWriter\Dwarf\DwarfAbbrev.cs (40)
50
public static readonly
DwarfAbbrev
CompileUnit = new([
60
public static readonly
DwarfAbbrev
BaseType = new([
66
public static readonly
DwarfAbbrev
EnumerationType = new([
72
public static readonly
DwarfAbbrev
EnumerationTypeNoChildren = new([
78
public static readonly
DwarfAbbrev
Enumerator1 = new([
83
public static readonly
DwarfAbbrev
Enumerator2 = new([
88
public static readonly
DwarfAbbrev
Enumerator4 = new([
93
public static readonly
DwarfAbbrev
Enumerator8 = new([
98
public static readonly
DwarfAbbrev
TypeDef = new([
103
public static readonly
DwarfAbbrev
Subprogram = new([
111
public static readonly
DwarfAbbrev
SubprogramNoChildren = new([
119
public static readonly
DwarfAbbrev
SubprogramStatic = new([
126
public static readonly
DwarfAbbrev
SubprogramStaticNoChildren = new([
133
public static readonly
DwarfAbbrev
SubprogramSpec = new([
144
public static readonly
DwarfAbbrev
SubprogramStaticSpec = new([
154
public static readonly
DwarfAbbrev
SubprogramStaticNoChildrenSpec = new([
164
public static readonly
DwarfAbbrev
Variable = new([
172
public static readonly
DwarfAbbrev
VariableLoc = new([
180
public static readonly
DwarfAbbrev
VariableStatic = new([
185
public static readonly
DwarfAbbrev
FormalParameter = new([
193
public static readonly
DwarfAbbrev
FormalParameterThis = new([
202
public static readonly
DwarfAbbrev
FormalParameterLoc = new([
210
public static readonly
DwarfAbbrev
FormalParameterThisLoc = new([
219
public static readonly
DwarfAbbrev
FormalParameterSpec = new([
223
public static readonly
DwarfAbbrev
FormalParameterThisSpec = new([
228
public static readonly
DwarfAbbrev
ClassType = new([
233
public static readonly
DwarfAbbrev
ClassTypeNoChildren = new([
238
public static readonly
DwarfAbbrev
ClassTypeDecl = new([
243
public static readonly
DwarfAbbrev
ClassMember = new([
249
public static readonly
DwarfAbbrev
ClassMemberStatic = new([
256
public static readonly
DwarfAbbrev
PointerType = new([
261
public static readonly
DwarfAbbrev
ReferenceType = new([
266
public static readonly
DwarfAbbrev
ArrayType = new([
270
public static readonly
DwarfAbbrev
SubrangeType = new([
274
public static readonly
DwarfAbbrev
ClassInheritance = new([
279
public static readonly
DwarfAbbrev
LexicalBlock = new([
284
public static readonly
DwarfAbbrev
TryBlock = new([
289
public static readonly
DwarfAbbrev
CatchBlock = new([
294
public static readonly
DwarfAbbrev
VoidType = new([
298
public static readonly
DwarfAbbrev
VoidPointerType = new([
Compiler\ObjectWriter\Dwarf\DwarfBuilder.cs (1)
165
dwarfInfoWriter.WriteStartDIE(
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);
269
_isForwardDecl ?
DwarfAbbrev
.ClassTypeDecl :
270
HasChildren ?
DwarfAbbrev
.ClassType :
DwarfAbbrev
.ClassTypeNoChildren);
282
writer.WriteStartDIE(
DwarfAbbrev
.ClassInheritance);
295
writer.WriteStartDIE(
DwarfAbbrev
.ClassMember);
307
writer.WriteStartDIE(
DwarfAbbrev
.ClassMemberStatic);
323
!method.IsStatic ?
DwarfAbbrev
.SubprogramSpec :
324
method.ArgumentTypes.Length > 0 ?
DwarfAbbrev
.SubprogramStaticSpec :
DwarfAbbrev
.SubprogramStaticNoChildrenSpec);
339
writer.WriteStartDIE(
DwarfAbbrev
.FormalParameterThisSpec);
347
writer.WriteStartDIE(
DwarfAbbrev
.FormalParameterSpec);
394
!_isStatic ?
DwarfAbbrev
.Subprogram :
395
_hasChildren ?
DwarfAbbrev
.SubprogramStatic :
DwarfAbbrev
.SubprogramStaticNoChildren);
428
writer.WriteStartDIE(
DwarfAbbrev
.TryBlock);
435
writer.WriteStartDIE(
DwarfAbbrev
.CatchBlock);
454
writer.WriteStartDIE(usesDebugLoc ?
DwarfAbbrev
.FormalParameterThisLoc :
DwarfAbbrev
.FormalParameterThis);
458
writer.WriteStartDIE(usesDebugLoc ?
DwarfAbbrev
.FormalParameterLoc :
DwarfAbbrev
.FormalParameter);
463
writer.WriteStartDIE(usesDebugLoc ?
DwarfAbbrev
.VariableLoc :
DwarfAbbrev
.Variable);
566
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();
216
foreach ((
DwarfAbbrev
abbrev, int abbreviationCode) in _usedAbbrevs)