#include <glib.h>
#include <mono/metadata/class.h>
+#include <mono/metadata/reflection.h>
typedef struct MonoDebugSymbolFile MonoDebugSymbolFile;
typedef struct MonoDebugSymbolFileSection MonoDebugSymbolFileSection;
gpointer code_start;
guint32 code_size;
guint32 num_params;
+ guint32 this_offset;
guint32 *param_offsets;
guint32 num_locals;
guint32 *local_offsets;
MonoImage *image;
/* Pointer to the mmap()ed contents of the file. */
void *raw_contents;
+ size_t raw_contents_size;
/* Array of MONO_DEBUG_SYMBOL_SECTION_MAX elements. */
MonoDebugSymbolFileSection *section_offsets;
gpointer user_data;
gulong size;
};
-#define MONO_DEBUG_SYMBOL_FILE_VERSION 4
+#define MONO_DEBUG_SYMBOL_FILE_VERSION 7
/* Keep in sync with Mono.CSharp.Debugger.MonoDwarfFileWriter.Section */
#define MONO_DEBUG_SYMBOL_SECTION_DEBUG_INFO 0x01
void mono_debug_close_symbol_file (MonoDebugSymbolFile *symbol_file);
+MonoReflectionType *
+ves_icall_Debugger_MonoSymbolWriter_get_local_type_from_sig (MonoReflectionAssembly *assembly,
+ MonoArray *signature);
+
+MonoReflectionMethod *
+ves_icall_Debugger_MonoSymbolWriter_method_from_token (MonoReflectionAssembly *assembly,
+ guint32 token);
+
+guint32
+ves_icall_Debugger_DwarfFileWriter_get_type_token (MonoReflectionType *type);
+
+
#endif /* __MONO_DEBUG_SYMFILE_H__ */