First set of licensing changes
[mono.git] / mono / metadata / debug-mono-symfile.h
index 6ea3bccfc6edff1c6a01caaec81ee281751550f0..3b3459f32587e13e2589a4d0d1f3d7dbe12aa99a 100644 (file)
@@ -2,6 +2,7 @@
  * This header is only installed for use by the debugger:
  * the structures and the API declared here are not supported.
  * Copyright 2012 Xamarin Inc (http://www.xamarin.com)
+ * Licensed under the MIT license. See LICENSE file in the project root for full license information.
  */
 
 #ifndef __MONO_DEBUG_MONO_SYMFILE_H__
@@ -116,6 +117,12 @@ typedef struct {
        guint8 *guid, *hash;
 } MonoDebugSourceInfo;
 
+typedef struct {
+       int il_offset;
+       int line, column;
+       int end_line, end_column;
+} MonoSymSeqPoint;
+
 #define MONO_SYMBOL_FILE_MAJOR_VERSION         50
 #define MONO_SYMBOL_FILE_MINOR_VERSION         0
 #define MONO_SYMBOL_FILE_MAGIC                 0x45e82623fd7fa614ULL
@@ -141,10 +148,6 @@ mono_debug_symfile_lookup_location (MonoDebugMethodInfo      *minfo,
 MONO_API void
 mono_debug_symfile_free_location   (MonoDebugSourceLocation  *location);
 
-int32_t
-_mono_debug_address_from_il_offset (MonoDebugMethodJitInfo   *jit,
-                                   uint32_t                  il_offset);
-
 MONO_API MonoDebugMethodInfo *
 mono_debug_symfile_lookup_method   (MonoDebugHandle          *handle,
                                    MonoMethod               *method);
@@ -152,14 +155,11 @@ mono_debug_symfile_lookup_method   (MonoDebugHandle          *handle,
 MONO_API MonoDebugLocalsInfo*
 mono_debug_symfile_lookup_locals (MonoDebugMethodInfo *minfo);
 
-MONO_API void
-mono_debug_symfile_free_locals (MonoDebugLocalsInfo *info);
+void
+mono_debug_symfile_get_seq_points (MonoDebugMethodInfo *minfo, char **source_file, GPtrArray **source_file_list, int **source_files, MonoSymSeqPoint **seq_points, int *n_seq_points);
 
-MONO_API void
-mono_debug_symfile_get_line_numbers (MonoDebugMethodInfo *minfo, char **source_file, int *n_il_offsets, int **il_offsets, int **line_numbers);
-
-MONO_API void
-mono_debug_symfile_get_line_numbers_full (MonoDebugMethodInfo *minfo, char **source_file, GPtrArray **source_file_list, int *n_il_offsets, int **il_offsets, int **line_numbers, int **column_numbers, int **source_files);
+gboolean
+mono_debug_image_has_debug_info (MonoImage *image);
 
 MONO_END_DECLS