aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.h
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2024-08-26 21:03:58 +0100
committerMark Harmstone <mark@harmstone.com>2024-08-29 02:53:08 +0100
commit350122685af24442501f19e2f03a0a2d8c651bc8 (patch)
tree0ebbad0a03b2a8587bb0ae5a67554f3c563a08e8 /gcc/dwarf2codeview.h
parent6cd806adaceb8e653646534b83685b0a129262a7 (diff)
downloadgcc-350122685af24442501f19e2f03a0a2d8c651bc8.zip
gcc-350122685af24442501f19e2f03a0a2d8c651bc8.tar.gz
gcc-350122685af24442501f19e2f03a0a2d8c651bc8.tar.bz2
Handle namespaced names for CodeView
Run all CodeView names through a new function get_name, which chains together a DIE's DW_AT_name with that of its parent to create a C++-style name. gcc/ * dwarf2codeview.cc (get_name): New function. (add_enum_forward_def): Call get_name. (get_type_num_enumeration_type): Call get_name. (add_struct_forward_def): Call get_name. (get_type_num_struct): Call get_name. (add_variable): Call get_name. (add function): Call get_name. * dwarf2out.cc (get_die_parent): Rename to dw_get_die_parent and make non-static. (generate_type_signature): Handle renamed get_die_parent. * dwarf2out.h (dw_get_die_parent): Add declaration.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions