]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH 05/11] Handle const and varible modifiers for CodeView
authorMark Harmstone <mark@harmstone.com>
Mon, 24 Jun 2024 03:39:45 +0000 (21:39 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Mon, 24 Jun 2024 03:39:45 +0000 (21:39 -0600)
commit29fec9ee74c3219bce714f2e5b6381a48049e01e
tree1e8bca71cb56502ac49a3cf994fd3765b5a934a2
parent35cca2ccd908960d789533ddb93bb1bea5e71305
[PATCH 05/11] Handle const and varible modifiers for CodeView

gcc/
* dwarf2codeview.cc
(struct codeview_custom_type): Add lf_modifier to union.
(write_cv_padding, write_lf_modifier): New functions.
(write_custom_types): Call write_lf_modifier.
(get_type_num_const_type): New function.
(get_type_num_volatile_type): Likewise.
(get_type_num): Handle DW_TAG_const_type and DW_TAG_volatile_type DIEs.
* dwarf2codeview.h (MOD_const, MOD_volatile): Define.
(LF_MODIFIER): Likewise.
gcc/dwarf2codeview.cc
gcc/dwarf2codeview.h