Re: [RFC PATCH 0/8] Make CTF reader build full symtabs, get rid of psymtab

Tom Tromey
2026-02-12T17:58:41Z

Simon> This is an RFC, because I would like to collect comments (especially
Simon> from the CTF experts) on whether the startup time remains acceptable,
Simon> even for large programs.

I'm not a CTF expert but I read through the patches and it seems
basically fine to me.

Simon> I also think that my use of
Simon> expanded_symbols_functions in the last patch is not quite right, I'll
Simon> need to look into that further.

We've since discussed this in a different thread, where we contemplated
putting the compunit_symtabs elsewhere.

The "bad" scenarios (which I think are just performance and not
correctness -related) only seem possible if "always-read-ctf" is set.
Which presumably few people really do.

Tom