aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DwarfPrinter.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-08-24 12:54:01 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-08-24 12:54:01 +0200
commit389f3e9554a7d29a8afa8d3c88804f9f988abdfe (patch)
tree465b04dc9e2934bf8ac56cd7fcb370cc3577d2ed /debug/DwarfPrinter.ml
parent448477ec6be14c0217f7ff74d90fb53d78fdf5c9 (diff)
downloadcompcert-kvx-389f3e9554a7d29a8afa8d3c88804f9f988abdfe.tar.gz
compcert-kvx-389f3e9554a7d29a8afa8d3c88804f9f988abdfe.zip
Also change the order of high and low pc in the compilation unit tag.
Diffstat (limited to 'debug/DwarfPrinter.ml')
-rw-r--r--debug/DwarfPrinter.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/DwarfPrinter.ml b/debug/DwarfPrinter.ml
index 67245ca8..f9c2034e 100644
--- a/debug/DwarfPrinter.ml
+++ b/debug/DwarfPrinter.ml
@@ -335,8 +335,8 @@ module DwarfPrinter(Target: DWARF_TARGET)(DwarfAbbrevs:DWARF_ABBREVS):
let print_compilation_unit oc tag =
let prod_name = sprintf "AbsInt Angewandte Informatik GmbH:CompCert Version %s:%s" Version.version Configuration.arch in
print_string oc (Sys.getcwd ());
- print_addr oc (get_start_addr ());
print_addr oc (get_end_addr ());
+ print_addr oc (get_start_addr ());
print_uleb128 oc 1;
print_string oc tag.compile_unit_name;
print_string oc prod_name;