From 9873f9ee01c6ccca88fd461d318e107ff303fe88 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Mon, 12 Oct 2015 18:39:31 +0200 Subject: 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 --- debug/DwarfTypes.mli | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'debug/DwarfTypes.mli') 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 -- cgit