diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-06-23 21:30:08 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-06-23 21:30:08 -0600 |
commit | 35cca2ccd908960d789533ddb93bb1bea5e71305 (patch) | |
tree | 2e27c0d6cd5962c21335604205d4b84fe3f5be4b /gcc/system.h | |
parent | de2ade6908c6f18b821d6d25b4f4833c850fa19c (diff) | |
download | gcc-35cca2ccd908960d789533ddb93bb1bea5e71305.zip gcc-35cca2ccd908960d789533ddb93bb1bea5e71305.tar.gz gcc-35cca2ccd908960d789533ddb93bb1bea5e71305.tar.bz2 |
[PATCH 04/11] Handle pointers for CodeView
Translates DW_TAG_pointer_type DIEs into LF_POINTER symbols, which get
output into the .debug$T section.
gcc/
* dwarf2codeview.cc (FIRST_TYPE): Define.
(struct codeview_custom_type): New structure.
(custom_types, last_custom_type): New variables.
(get_type_num): Prototype.
(write_lf_pointer, write_custom_types): New functions.
(codeview_debug_finish): Call write_custom_types.
(add_custom_type, get_type_num_pointer_type): New functions.
(get_type_num): Handle DW_TAG_pointer_type DIEs.
* dwarf2codeview.h (T_VOID): Define.
(CV_POINTER_32, CV_POINTER_64): Likewise.
(T_32PVOID, T_64PVOID): Likewise.
(CV_PTR_NEAR32, CV_PTR64, LF_POINTER): Likewise.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions