aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-07-24 11:22:39 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-07-24 11:22:39 +0200
commit63ebcf71ccd28a7e3a91737dc155dafc79b4196f (patch)
treeab76cdc9a70254111930a5581188c25844524c12 /debug
parentf34d02dd23a2a30cb0a18cdfd576163179fdf0fd (diff)
downloadcompcert-kvx-63ebcf71ccd28a7e3a91737dc155dafc79b4196f.tar.gz
compcert-kvx-63ebcf71ccd28a7e3a91737dc155dafc79b4196f.zip
Swapped high and low pc in the printing of the debug information for subroutines.
Diffstat (limited to 'debug')
-rw-r--r--debug/DwarfPrinter.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/DwarfPrinter.ml b/debug/DwarfPrinter.ml
index 9e565ee4..67245ca8 100644
--- a/debug/DwarfPrinter.ml
+++ b/debug/DwarfPrinter.ml
@@ -393,8 +393,8 @@ module DwarfPrinter(Target: DWARF_TARGET)(DwarfAbbrevs:DWARF_ABBREVS):
print_opt_value oc st.structure_name print_string
let print_subprogram_addr oc (s,e) =
- fprintf oc " .4byte %a\n" label s;
- fprintf oc " .4byte %a\n" label e
+ fprintf oc " .4byte %a\n" label e;
+ fprintf oc " .4byte %a\n" label s
let print_subprogram oc sp =
let addr = get_fun_addr sp.subprogram_name in