From 2a26429f28bea6356521135c632ddb9a8b11c018 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Mon, 18 May 2015 12:45:07 +0200 Subject: Changed the producer tag to include more information. --- debug/DwarfPrinter.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debug') diff --git a/debug/DwarfPrinter.ml b/debug/DwarfPrinter.ml index dec3279e..13d4049e 100644 --- a/debug/DwarfPrinter.ml +++ b/debug/DwarfPrinter.ml @@ -328,12 +328,13 @@ module DwarfPrinter(Target: DWARF_TARGET)(DwarfAbbrevs:DWARF_ABBREVS): print_string oc bt.base_type_name let print_compilation_unit oc tag = + let prod_name = sprintf "AbsInt Angewandte Informatik GmbH:CompCert Version %s:%s" Configuration.version Configuration.arch in print_string oc (Sys.getcwd ()); print_addr oc (get_start_addr ()); print_addr oc (get_end_addr ()); print_uleb128 oc 1; print_string oc tag.compile_unit_name; - print_string oc ("CompCert "^Configuration.version); + print_string oc prod_name; print_addr oc (get_stmt_list_addr ()) let print_const_type oc ct = -- cgit