]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Don't consider DW_TAG_inlined_subroutine as interesting
authorTom Tromey <tom@tromey.com>
Sun, 30 Mar 2025 19:52:57 +0000 (13:52 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 7 Apr 2026 17:36:08 +0000 (11:36 -0600)
tag_interesting_for_index returns true for DW_TAG_inlined_subroutine
-- but this tag only appears where the function is actually inlined,
which is not interesting for the index.

Acked-By: Tom de Vries <tdevries@suse.de>
Approved-By: Simon Marchi <simark@simark.ca>
gdb/dwarf2/abbrev.c

index 49564db275b707f489dca3ccee4bd7d5040b7400..44d5c87a5f798e29b1bcbd32278cfb852a709b04 100644 (file)
@@ -46,7 +46,6 @@ tag_interesting_for_index (dwarf_tag tag)
     case DW_TAG_enumerator:
     case DW_TAG_imported_declaration:
     case DW_TAG_imported_unit:
-    case DW_TAG_inlined_subroutine:
     case DW_TAG_interface_type:
     case DW_TAG_module:
     case DW_TAG_namespace: