aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DwarfPrinter.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-05-18 12:45:07 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-05-18 12:45:07 +0200
commit2a26429f28bea6356521135c632ddb9a8b11c018 (patch)
tree80c3b285bb26cfa6b2b4d4c9069667ab951ecc28 /debug/DwarfPrinter.ml
parent5d017f110f6c23c29a182465ab7832a944c0ba26 (diff)
downloadcompcert-kvx-2a26429f28bea6356521135c632ddb9a8b11c018.tar.gz
compcert-kvx-2a26429f28bea6356521135c632ddb9a8b11c018.zip
Changed the producer tag to include more information.
Diffstat (limited to 'debug/DwarfPrinter.ml')
-rw-r--r--debug/DwarfPrinter.ml3
1 files changed, 2 insertions, 1 deletions
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 =