Micro-optimize cooked_index_entry::full_name
authorTom Tromey <tom@tromey.com>
Wed, 20 Apr 2022 05:44:50 +0000 (23:44 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Apr 2022 12:21:06 +0000 (06:21 -0600)
commit72b580b8f48927cf7bc4cf8bb951aaeff637d0ee
tree3d906c0e97c498c7f8abb43c7f43794a440639c4
parent6e0d24c448d09a27f56799102f06223ceaf6ff4d
Micro-optimize cooked_index_entry::full_name

I noticed that cooked_index_entry::full_name can return the canonical
string when there is no parent entry.

Regression tested on x86-64 Fedora 34.
gdb/dwarf2/cooked-index.c