Skip to content

Commit

Permalink
2009-02-17 Zoltan Varga <vargaz@gmail.com>
Browse files Browse the repository at this point in the history
	* dwarfwriter.c (mono_dwarf_writer_emit_base_info): Use 2 as the DWARF
	version instead of 3 as valgrind doesn't like version 3.

svn path=/trunk/mono/; revision=127100
  • Loading branch information
vargaz committed Feb 17, 2009
1 parent 4bc11c8 commit 2d331c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions mono/mini/ChangeLog
@@ -1,5 +1,8 @@
2009-02-17 Zoltan Varga <vargaz@gmail.com>

* dwarfwriter.c (mono_dwarf_writer_emit_base_info): Use 2 as the DWARF
version instead of 3 as valgrind doesn't like version 3.

* mini.h (MONO_AOT_FILE_VERSION): Bump this.

* aot-compiler.c (mono_aot_method_hash): New function to return a hash
Expand Down
2 changes: 1 addition & 1 deletion mono/mini/dwarfwriter.c
Expand Up @@ -641,7 +641,7 @@ mono_dwarf_writer_emit_base_info (MonoDwarfWriter *w, GSList *base_unwind_progra
emit_section_change (w, ".debug_info", 0);
emit_label (w, ".Ldebug_info_start");
emit_symbol_diff (w, ".Ldebug_info_end", ".", -4); /* length */
emit_int16 (w, 0x3); /* DWARF version 3 */
emit_int16 (w, 0x2); /* DWARF version 2 */
emit_int32 (w, 0); /* .debug_abbrev offset */
emit_byte (w, sizeof (gpointer)); /* address size */

Expand Down

0 comments on commit 2d331c2

Please sign in to comment.