diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-07-20 20:12:30 +0100 |
---|---|---|
committer | Mark Harmstone <mark@harmstone.com> | 2024-07-24 00:51:13 +0100 |
commit | 7341607544e01a4a155613470b2ef099b051b881 (patch) | |
tree | c4c098137a11636a62fe42c56cf6be55ad128fa8 /gcc/dwarf2codeview.h | |
parent | 806927111cf388a2d8cd54072269601f677767cf (diff) | |
download | gcc-7341607544e01a4a155613470b2ef099b051b881.zip gcc-7341607544e01a4a155613470b2ef099b051b881.tar.gz gcc-7341607544e01a4a155613470b2ef099b051b881.tar.bz2 |
Output CodeView type information for references
Translates DW_TAG_reference_type DIEs into LF_POINTER types.
gcc/
* dwarf2codeview.cc (get_type_num_reference_type): New function.
(get_type_num_array_type): Add DW_TAG_reference_type to switch.
(get_type_num): Handle DW_TAG_reference_type DIEs.
* dwarf2codeview.h (CV_PTR_MODE_LVREF): Define.
Diffstat (limited to 'gcc/dwarf2codeview.h')
-rw-r--r-- | gcc/dwarf2codeview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2codeview.h b/gcc/dwarf2codeview.h index 8fd3632..7d4e3ab 100644 --- a/gcc/dwarf2codeview.h +++ b/gcc/dwarf2codeview.h @@ -55,6 +55,7 @@ along with GCC; see the file COPYING3. If not see /* LF_POINTER attributes. */ #define CV_PTR_NEAR32 0x0a #define CV_PTR_64 0x0c +#define CV_PTR_MODE_LVREF 0x20 /* LF_MODIFIER values. */ #define MOD_const 0x1 |