struct partial_symtab **dependencies = nullptr;
+ std::set<sect_offset> interesting_symbols;
+
+ void note_interesting_symbol (partial_symbol *psym)
+ {
+ auto it = sect_off.find (psym);
+ interesting_symbols.emplace (it->second);
+ }
+
int number_of_dependencies = 0;
/* Global symbol list. This list will be sorted after readin to
{
/* Found a match, so notify our caller. */
result = PST_SEARCHED_AND_FOUND;
- keep_going = 0;
+ if (lazy_expand_symtab_p)
+ ps->note_interesting_symbol (*psym);
+ else
+ {
+ keep_going = 0;
+ }
}
}
psym++;