Re: [PATCH] Fix handling of const or volatile void pointers in CodeView

2024-08-04 Thread Jeff Law
On 8/4/24 4:42 PM, Mark Harmstone wrote: DWARF represents voids in DW_TAG_const_type and DW_TAG_volatile_type DIEs by the absence of a DW_AT_type attribute, which we weren't handling correctly. gcc/ * dwarf2codeview.cc (get_type_num_const_type): Handle missing DW_AT_type attri

[PATCH] Fix handling of const or volatile void pointers in CodeView

2024-08-04 Thread Mark Harmstone
DWARF represents voids in DW_TAG_const_type and DW_TAG_volatile_type DIEs by the absence of a DW_AT_type attribute, which we weren't handling correctly. gcc/ * dwarf2codeview.cc (get_type_num_const_type): Handle missing DW_AT_type attribute. (get_type_num_volatile_type): Li