diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-06-25 20:24:22 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-06-25 20:24:22 -0600 |
commit | 01f8b1002147c08f206a058a6d1f7bfb006aa324 (patch) | |
tree | 3c838480c15db635aebaefbcffda1d087e995232 /gcc/dwarf2codeview.h | |
parent | 009b3290f2b2a41409530cbc8119343d6344b50e (diff) | |
download | gcc-01f8b1002147c08f206a058a6d1f7bfb006aa324.zip gcc-01f8b1002147c08f206a058a6d1f7bfb006aa324.tar.gz gcc-01f8b1002147c08f206a058a6d1f7bfb006aa324.tar.bz2 |
[PATCH 11/11] Handle subroutine types in CodeView
gcc/
* dwarf2codeview.cc (struct codeview_custom_type): Add lf_procedure
and lf_arglist to union.
(write_lf_procedure, write_lf_arglist): New functions.
(write_custom_types): Call write_lf_procedure and write_lf_arglist.
(get_type_num_subroutine_type): New function.
(get_type_num): Handle DW_TAG_subroutine_type DIEs.
* dwarf2codeview.h (LF_PROCEDURE, LF_ARGLIST): Define.
Diffstat (limited to 'gcc/dwarf2codeview.h')
-rw-r--r-- | gcc/dwarf2codeview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dwarf2codeview.h b/gcc/dwarf2codeview.h index 70eae55..e6ad517 100644 --- a/gcc/dwarf2codeview.h +++ b/gcc/dwarf2codeview.h @@ -63,6 +63,8 @@ along with GCC; see the file COPYING3. If not see /* Constants for type definitions. */ #define LF_MODIFIER 0x1001 #define LF_POINTER 0x1002 +#define LF_PROCEDURE 0x1008 +#define LF_ARGLIST 0x1201 #define LF_FIELDLIST 0x1203 #define LF_BITFIELD 0x1205 #define LF_INDEX 0x1404 |