[PATCH] Introduce objfile::intern

Tom Tromey tom@tromey.com
Wed Mar 4 23:47:00 GMT 2020


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> This introduces a string cache on the per-BFD object, replacing the
Tom> macro and filename caches.  Both of these caches just store strings,
Tom> so this consolidation by itself saves a little memory (about the size
Tom> of a bcache per objfile).

I'm checking this in now.

Tom



More information about the Gdb-patches mailing list