Skip to content

Commit 2a26429

Browse files
committed
Changed the producer tag to include more information.
1 parent 5d017f1 commit 2a26429

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

debug/DwarfPrinter.ml

+2-1
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,13 @@ module DwarfPrinter(Target: DWARF_TARGET)(DwarfAbbrevs:DWARF_ABBREVS):
328328
print_string oc bt.base_type_name
329329

330330
let print_compilation_unit oc tag =
331+
let prod_name = sprintf "AbsInt Angewandte Informatik GmbH:CompCert Version %s:%s" Configuration.version Configuration.arch in
331332
print_string oc (Sys.getcwd ());
332333
print_addr oc (get_start_addr ());
333334
print_addr oc (get_end_addr ());
334335
print_uleb128 oc 1;
335336
print_string oc tag.compile_unit_name;
336-
print_string oc ("CompCert "^Configuration.version);
337+
print_string oc prod_name;
337338
print_addr oc (get_stmt_list_addr ())
338339

339340
let print_const_type oc ct =

0 commit comments

Comments
 (0)