]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH 08/11] Handle unions for CodeView.
authorMark Harmstone <mark@harmstone.com>
Tue, 25 Jun 2024 23:28:49 +0000 (17:28 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 25 Jun 2024 23:29:16 +0000 (17:29 -0600)
commit0a5f559fb369ac9568ff57835928ac3ce3517be7
tree22798e64dd47f3d4b65bf4af749db9e480b87d69
parent7d413a87f15562b9ec21f462d565522b45e57c3c
[PATCH 08/11] Handle unions for CodeView.

Translates DW_TAG_union_type DIEs into LF_UNION symbols.

gcc/
* dwarf2codeview.cc (write_lf_union): New function.
(write_custom_types): Call write_lf_union.
(add_struct_forward_def): Handle DW_TAG_union_type DIEs.
(get_type_num_struct): Handle unions.
(get_type_num): Handle DW_TAG_union_type DIEs.
* dwarf2codeview.h (LF_UNION): Define.
gcc/dwarf2codeview.cc
gcc/dwarf2codeview.h