Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugTypeRecordsSection.cs')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugTypeRecordsSection.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugTypeRecordsSection.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugTypeRecordsSection.cs
index 660559ccb..e74e0a077 100644
--- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugTypeRecordsSection.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugTypeRecordsSection.cs
@@ -33,7 +33,8 @@ namespace ILCompiler.DependencyAnalysis
public int Offset => 0;
- protected internal override int ClassCode => -2081034825;
+ protected internal override int Phase => (int)ObjectNodePhase.Ordered;
+ public override int ClassCode => (int)ObjectNodeOrder.WindowsDebugTypeRecordsSectionNode;
public void AppendMangledName(NameMangler nameMangler, Utf8StringBuilder sb)
{
@@ -73,9 +74,10 @@ namespace ILCompiler.DependencyAnalysis
return _dbgInfoWriter.GetClassTypeIndex(classTypeDescriptor);
}
- uint ITypesDebugInfoWriter.GetCompleteClassTypeIndex(ClassTypeDescriptor classTypeDescriptor, ClassFieldsTypeDescriptor classFieldsTypeDescriptior, DataFieldDescriptor[] fields)
+ uint ITypesDebugInfoWriter.GetCompleteClassTypeIndex(ClassTypeDescriptor classTypeDescriptor, ClassFieldsTypeDescriptor classFieldsTypeDescriptior,
+ DataFieldDescriptor[] fields, StaticDataFieldDescriptor[] statics)
{
- return _dbgInfoWriter.GetCompleteClassTypeIndex(classTypeDescriptor, classFieldsTypeDescriptior, fields);
+ return _dbgInfoWriter.GetCompleteClassTypeIndex(classTypeDescriptor, classFieldsTypeDescriptior, fields, statics);
}
uint ITypesDebugInfoWriter.GetArrayTypeIndex(ClassTypeDescriptor classDescriptor, ArrayTypeDescriptor arrayTypeDescriptor)
@@ -98,6 +100,11 @@ namespace ILCompiler.DependencyAnalysis
return _dbgInfoWriter.GetMemberFunctionId(memberIdDescriptor);
}
+ uint ITypesDebugInfoWriter.GetPrimitiveTypeIndex(TypeDesc type)
+ {
+ return PrimitiveTypeDescriptor.GetPrimitiveTypeIndex(type);
+ }
+
string ITypesDebugInfoWriter.GetMangledName(TypeDesc type)
{
return _nodeFactory.NameMangler.GetMangledTypeName(type);