diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-12 18:39:31 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-12 18:39:31 +0200 |
commit | 9873f9ee01c6ccca88fd461d318e107ff303fe88 (patch) | |
tree | b478b52548ebc1bfbe4b479cebe2dc32d372d0cb /debug/DwarfTypes.mli | |
parent | 906873ee165cbaabf36ca51792eb5a498a12bd72 (diff) | |
download | compcert-9873f9ee01c6ccca88fd461d318e107ff303fe88.tar.gz compcert-9873f9ee01c6ccca88fd461d318e107ff303fe88.zip |
Use a more descriptive type for diab debug entries.
Instead of using a tuple we now use a record with descriptive names
for the different entries.
Bug 17392
Diffstat (limited to 'debug/DwarfTypes.mli')
-rw-r--r-- | debug/DwarfTypes.mli | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/debug/DwarfTypes.mli b/debug/DwarfTypes.mli index 8f03eb8d..233ada2e 100644 --- a/debug/DwarfTypes.mli +++ b/debug/DwarfTypes.mli @@ -249,7 +249,16 @@ type location_entry = } type dw_locations = int option * location_entry list -type diab_entries = (string * int * int * dw_entry * dw_locations) list +type diab_entry = + { + section_name: string; + start_label: int; + line_label: int; + entry: dw_entry; + locs: dw_locations; + } + +type diab_entries = diab_entry list type gnu_entries = dw_entry * dw_locations |