aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/cooked-index-shard.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/cooked-index-shard.c')
-rw-r--r--gdb/dwarf2/cooked-index-shard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/dwarf2/cooked-index-shard.c b/gdb/dwarf2/cooked-index-shard.c
index e440d85..58a0231 100644
--- a/gdb/dwarf2/cooked-index-shard.c
+++ b/gdb/dwarf2/cooked-index-shard.c
@@ -224,7 +224,8 @@ cooked_index_shard::finalize (const parent_map_map *parent_maps)
}
/* Note that this code must be kept in sync with
- language_requires_canonicalization. */
+ cooked_index::get_main -- if canonicalization is required
+ here, then a check might be required there. */
gdb_assert (entry->canonical == nullptr);
if ((entry->flags & IS_LINKAGE) != 0)
entry->canonical = entry->name;