* list :
[mono.git] / mono / metadata / debug-mono-symfile.h
index f0fde97c06553f8a43e7850e20fee202216b9d94..3fa985afbdc9976a5b3266dbc8f4e0466777a1a9 100644 (file)
@@ -32,6 +32,9 @@ struct MonoSymbolFileOffsetTable {
        guint32 line_number_table_size;
        guint32 local_variable_table_offset;
        guint32 local_variable_table_size;
+       guint32 source_file_table_offset;
+       guint32 source_file_table_size;
+       guint32 source_file_count;
        guint32 type_count;
        guint32 type_index_table_offset;
        guint32 type_index_table_size;
@@ -53,8 +56,10 @@ struct MonoSymbolFileMethodEntry {
 
 struct MonoSymbolFileMethodAddress {
        guint32 size;
-       guint64 start_address;
-       guint64 end_address;
+       const guint8 *start_address;
+       const guint8 *end_address;
+       const guint8 *method_start_address;
+       const guint8 *method_end_address;
        guint32 variable_table_offset;
        guint32 type_table_offset;
        guint32 num_line_numbers;
@@ -73,6 +78,8 @@ struct MonoDebugMethodInfo {
        MonoSymbolFile *symfile;
        guint32 file_offset;
        guint32 num_il_offsets;
+       guint32 start_line;
+       guint32 end_line;
        MonoSymbolFileLineNumberEntry *il_offsets;
        MonoDebugMethodJitInfo *jit;
        gpointer user_data;
@@ -128,8 +135,8 @@ struct MonoDebugVarInfo {
 };
 
 struct MonoDebugRangeInfo {
-       guint64 start_address;
-       guint64 end_address;
+       const guint8 *start_address;
+       const guint8 *end_address;
        guint32 file_offset;
        gpointer dynamic_data;
        guint32 dynamic_size;
@@ -170,10 +177,10 @@ struct MonoSymbolFile {
        MonoSymbolFilePriv *_priv;
 };
 
-#define MONO_SYMBOL_FILE_VERSION               26
+#define MONO_SYMBOL_FILE_VERSION               28
 #define MONO_SYMBOL_FILE_MAGIC                 0x45e82623fd7fa614
 
-#define MONO_SYMBOL_FILE_DYNAMIC_VERSION       9
+#define MONO_SYMBOL_FILE_DYNAMIC_VERSION       14
 #define MONO_SYMBOL_FILE_DYNAMIC_MAGIC         0x7aff65af4253d427
 
 MonoSymbolFile *
@@ -193,8 +200,7 @@ void
 mono_debug_close_mono_symbol_file  (MonoSymbolFile           *symfile);
 
 MonoSymbolFile *
-mono_debug_create_mono_symbol_file (MonoImage                *image,
-                                   GHashTable               *method_hash);
+mono_debug_create_mono_symbol_file (MonoImage                *image);
 
 gchar *
 mono_debug_find_source_location    (MonoSymbolFile           *symfile,