[PATCH 04/10] Change storage of demangle_component
John Baldwin
jhb@FreeBSD.org
Mon Apr 22 17:17:58 GMT 2024
On 4/21/24 10:00 AM, Tom Tromey wrote:
> This changes demangle_component objects to be stored on the obstack
> that is part of demangle_info. It also arranges for a demangle_info
> object to be kept alive by cp_merge_demangle_parse_infos. This way,
> other data on the obstack can be kept while an "outer" demangle_info
> needs it.
The mechanical changes to switch to using better memory management look
ok to me. I did not do a detailed review of the objects' relationships
to understand the "outer" comment in the log.
(Not quite sure where on the line this falls for Acked-By vs
Approved-By)
Acked-By: John Baldwin <jhb@FreeBSD.org>
--
John Baldwin
More information about the Gdb-patches
mailing list