aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2020-07-02 14:52:34 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2020-07-08 11:58:10 +0200
commitf8cfbc1bc22c06835e9ea7b0cab41a8f25b523ba (patch)
tree2ad83773791fafb3b94fc9132a488fafb54026ed /debug
parentfdaa2a3e7269ab5fc6fade4ac56699ad21de1bda (diff)
downloadcompcert-kvx-f8cfbc1bc22c06835e9ea7b0cab41a8f25b523ba.tar.gz
compcert-kvx-f8cfbc1bc22c06835e9ea7b0cab41a8f25b523ba.zip
Introduce additional "branch" build information.
Diffstat (limited to 'debug')
-rw-r--r--debug/Dwarfgen.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/Dwarfgen.ml b/debug/Dwarfgen.ml
index 6c1d0846..020ac60e 100644
--- a/debug/Dwarfgen.ml
+++ b/debug/Dwarfgen.ml
@@ -543,8 +543,8 @@ let diab_file_loc sec (f,l) =
let prod_name =
let version_string =
- if Version.buildnr <> "" && Version.tag <> "" then
- Printf.sprintf "Release: %s, Build: %s, Tag: %s" Version.version Version.buildnr Version.tag
+ if Version.buildnr <> "" && Version.tag <> "" && Version.branch <> "" then
+ Printf.sprintf "Release: %s, Build: %s, Tag: %s, Branch:%s" Version.version Version.buildnr Version.tag Version.branch
else
Version.version in
Printf.sprintf "AbsInt Angewandte Informatik GmbH:CompCert Version %s:(%s,%s,%s,%s)"