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/Common/src/TypeSystem/TypesDebugInfoWriter/TypesDebugInfoWriter.cs')
-rw-r--r--src/Common/src/TypeSystem/TypesDebugInfoWriter/TypesDebugInfoWriter.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/Common/src/TypeSystem/TypesDebugInfoWriter/TypesDebugInfoWriter.cs b/src/Common/src/TypeSystem/TypesDebugInfoWriter/TypesDebugInfoWriter.cs
index dd57f1924..133a18d70 100644
--- a/src/Common/src/TypeSystem/TypesDebugInfoWriter/TypesDebugInfoWriter.cs
+++ b/src/Common/src/TypeSystem/TypesDebugInfoWriter/TypesDebugInfoWriter.cs
@@ -12,7 +12,8 @@ namespace Internal.TypeSystem.TypesDebugInfo
uint GetClassTypeIndex(ClassTypeDescriptor classTypeDescriptor);
- uint GetCompleteClassTypeIndex(ClassTypeDescriptor classTypeDescriptor, ClassFieldsTypeDescriptor classFieldsTypeDescriptor, DataFieldDescriptor[] fields);
+ uint GetCompleteClassTypeIndex(ClassTypeDescriptor classTypeDescriptor, ClassFieldsTypeDescriptor classFieldsTypeDescriptor,
+ DataFieldDescriptor[] fields, StaticDataFieldDescriptor[] statics);
uint GetArrayTypeIndex(ClassTypeDescriptor classDescriptor, ArrayTypeDescriptor arrayTypeDescriprtor);
@@ -22,6 +23,8 @@ namespace Internal.TypeSystem.TypesDebugInfo
uint GetMemberFunctionId(MemberFunctionIdTypeDescriptor memberIdDescriptor);
+ uint GetPrimitiveTypeIndex(TypeDesc type);
+
string GetMangledName(TypeDesc type);
}
@@ -46,6 +49,7 @@ namespace Internal.TypeSystem.TypesDebugInfo
public int IsStruct;
public string Name;
public uint BaseClassId;
+ public ulong InstanceSize;
}
[StructLayout(LayoutKind.Sequential)]
@@ -57,6 +61,14 @@ namespace Internal.TypeSystem.TypesDebugInfo
}
[StructLayout(LayoutKind.Sequential)]
+ public struct StaticDataFieldDescriptor
+ {
+ public string StaticDataName;
+ public ulong StaticOffset;
+ public int IsStaticDataInObject;
+ }
+
+ [StructLayout(LayoutKind.Sequential)]
public struct ClassFieldsTypeDescriptor
{
public ulong Size;