projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[docs] Enable documentation for mini.
[mono.git]
/
mono
/
mini
/
dwarfwriter.c
diff --git
a/mono/mini/dwarfwriter.c
b/mono/mini/dwarfwriter.c
index 6c191d0b37ddd73527a2bc7a990cc95c964a19d8..9f2c405b68360afdf129e789ed284a382f25fe3a 100644
(file)
--- a/
mono/mini/dwarfwriter.c
+++ b/
mono/mini/dwarfwriter.c
@@
-1,5
+1,6
@@
-/*
- * dwarfwriter.c: Creation of DWARF debug information
+/**
+ * \file
+ * Creation of DWARF debug information
*
* Author:
* Zoltan Varga (vargaz@gmail.com)
*
* Author:
* Zoltan Varga (vargaz@gmail.com)
@@
-21,9
+22,7
@@
#endif
#include <mono/metadata/mono-endian.h>
#endif
#include <mono/metadata/mono-endian.h>
-#include <mono/metadata/debug-mono-symfile.h>
-#include <mono/metadata/mono-debug-debugger.h>
-#include <mono/utils/mono-compiler.h>
+#include <mono/metadata/debug-internals.h>
#ifndef HOST_WIN32
#include <mono/utils/freebsd-elf32.h>
#ifndef HOST_WIN32
#include <mono/utils/freebsd-elf32.h>
@@
-1582,11
+1581,11
@@
emit_line_number_info (MonoDwarfWriter *w, MonoMethod *method,
prev_il_offset = il_offset;
prev_il_offset = il_offset;
- loc = mono_debug_
symfile
_lookup_location (minfo, il_offset);
+ loc = mono_debug_
method
_lookup_location (minfo, il_offset);
if (!loc)
continue;
if (!loc->source_file) {
if (!loc)
continue;
if (!loc->source_file) {
- mono_debug_
symfile_fre
e_location (loc);
+ mono_debug_
free_sourc
e_location (loc);
continue;
}
continue;
}
@@
-1634,7
+1633,7
@@
emit_line_number_info (MonoDwarfWriter *w, MonoMethod *method,
prev_native_offset = i;
}
prev_native_offset = i;
}
- mono_debug_
symfile_fre
e_location (loc);
+ mono_debug_
free_sourc
e_location (loc);
first = FALSE;
}
first = FALSE;
}
@@
-1798,7
+1797,7
@@
mono_dwarf_writer_emit_method (MonoDwarfWriter *w, MonoCompile *cfg, MonoMethod
minfo = mono_debug_lookup_method (method);
if (minfo)
minfo = mono_debug_lookup_method (method);
if (minfo)
- loc = mono_debug_
symfile
_lookup_location (minfo, 0);
+ loc = mono_debug_
method
_lookup_location (minfo, 0);
/* Subprogram */
names = g_new0 (char *, sig->param_count);
/* Subprogram */
names = g_new0 (char *, sig->param_count);
@@
-1819,7
+1818,7
@@
mono_dwarf_writer_emit_method (MonoDwarfWriter *w, MonoCompile *cfg, MonoMethod
emit_uleb128 (w, file_index + 1);
emit_uleb128 (w, loc->row);
emit_uleb128 (w, file_index + 1);
emit_uleb128 (w, loc->row);
- mono_debug_
symfile_fre
e_location (loc);
+ mono_debug_
free_sourc
e_location (loc);
loc = NULL;
} else {
emit_uleb128 (w, 0);
loc = NULL;
} else {
emit_uleb128 (w, 0);