This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA v2 0/3] Handle dereferencing Rust trait objects
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 17 Nov 2017 19:42:56 +0000
- Subject: Re: [RFA v2 0/3] Handle dereferencing Rust trait objects
- Authentication-results: sourceware.org; auth=none
- References: <20171117192547.3515-1-tom@tromey.com>
On 11/17/2017 07:25 PM, Tom Tromey wrote:
> This is version 2 of the patch for inspecting Rust trait objects.
>
> I think this version addresses the comments from the earlier version:
>
> * Use a std::vector rather than unordered_map -- note that a temporary
> set was needed to avoid temporarily making a gigantic vector in the
> libxul case.
>
> * Change a reinterpret_cast to a static_cast.
>
> * Use readelf to check the test's debuginfo before proceeding.
>
> I've also tacked on a couple of patches that we discussed; one to
> change the "subclass" information for struct symbol to use an enum,
> and one to change template_symbol to use derivation.
>
> Tested on x86-64 Fedora 25.
LGTM.
Thanks,
Pedro Alves