aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2022-09-14 17:10:27 +0200
committerMichael Matz <matz@suse.de>2022-11-30 17:15:08 +0100
commitb1eecf6f66a4a642f4cb35688213e6c1c1ffdc79 (patch)
tree96e12a87af885c2e5b0b4bba60a4635bd1f1ce48 /ld/ldlang.h
parent50be5d11289c8ca8d5aa7ec621b7110b6572612a (diff)
downloadgdb-b1eecf6f66a4a642f4cb35688213e6c1c1ffdc79.zip
gdb-b1eecf6f66a4a642f4cb35688213e6c1c1ffdc79.tar.gz
gdb-b1eecf6f66a4a642f4cb35688213e6c1c1ffdc79.tar.bz2
section-select: Implement a prefix-tree
Now that we have a list of potentially matching sections per wild statement we can actually pre-fill that one by going once over all input sections and match their names against a prefix-tree that points to the potentially matching wild statements. So instead of looking at all sections names for each glob for each wild statement we now look at the sections only once and then only check against those globs that have a possibility of a match at all (usually only one or two). This pushes the whole section selection off the profiles.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 50ad64c..ed185c5 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -399,7 +399,6 @@ struct lang_wild_statement_struct
lang_statement_list_type children;
struct name_list *exclude_name_list;
lang_statement_list_type matching_sections;
- bool resolved;
walk_wild_section_handler_t walk_wild_section_handler;
struct wildcard_list *handler_data[4];