diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2022-07-28 18:10:30 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2022-09-03 09:59:01 +0200 |
commit | 9fcb0316df79ee741272340d7db0378872a53c5f (patch) | |
tree | 354edb0fb4dbc63a09dba4ede3244b7d95fdf692 /debug/DebugTypes.mli | |
parent | 7c0df3799418b6044e448d6266a082b2fbd8ae1f (diff) | |
download | compcert-9fcb0316df79ee741272340d7db0378872a53c5f.tar.gz compcert-9fcb0316df79ee741272340d7db0378872a53c5f.zip |
Rework of struct member offsets for debug info.
The struct member byte and bit offsets are now set based upon the new
function `struct_layout` from Ctypes.v, thus using the same code to
compute as used to generate the actual struct access.
The struct offset member information is addded using the types computed
after the translation in C2C. Therefore we need to store the new internal
names of the members as well as the composites and use them
when adding the offset information.
Fixes: #445
Diffstat (limited to 'debug/DebugTypes.mli')
-rw-r--r-- | debug/DebugTypes.mli | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/DebugTypes.mli b/debug/DebugTypes.mli index c3df6066..b3002f4c 100644 --- a/debug/DebugTypes.mli +++ b/debug/DebugTypes.mli @@ -19,13 +19,13 @@ open Camlcoq type composite_field = { cfd_name: string; + cfd_atom: atom option; cfd_anon: bool; cfd_typ: int; cfd_bit_size: int option; cfd_bit_offset: int option; cfd_byte_offset: int option; cfd_byte_size: int option; - cfd_bitfield: string option; } type composite_type = |