]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add CodeView enum cv_sym_type
authorMark Harmstone <mark@harmstone.com>
Thu, 27 Jun 2024 23:30:49 +0000 (00:30 +0100)
committerMark Harmstone <mark@harmstone.com>
Sat, 13 Jul 2024 20:53:18 +0000 (21:53 +0100)
commitf53087a719d97959304d57b647cc8792061a9db3
treee9cb46bbebc8df498f8db1cf6f9c4822337ad253
parent131fcb5a3820e44fa80e3b9c2abdecda98007776
Add CodeView enum cv_sym_type

Make everything more gdb-friendly by using an enum for symbol constants
rather than #defines.

gcc/
* dwarf2codeview.cc (S_LDATA32, S_GDATA32, S_COMPILE3): Undefine.
(enum cv_sym_type): Define.
(struct codeview_symbol): Use enum cv_sym_type.
(write_codeview_symbols): Add default to switch.
gcc/dwarf2codeview.cc