[PATCH] ld/PDB: handle pointers to members

Jan Beulich jbeulich@suse.com
Mon Aug 26 14:02:06 GMT 2024


On 26.08.2024 15:32, Mark Harmstone wrote:
> If the CV_PTR_MODE_PMEM or CV_PTR_MODE_PMFUNC flags were set in an
> LF_POINTER entry's attributes, there's a few extra bytes on the end that
> we weren't accounting for.
> 
> Change handle_type so that we remap the containing_class field if it's
> present, and add a test for this.
> ---
>  ld/pdb.c                                 | 17 ++++++++++++++
>  ld/pdb.h                                 |  9 +++++++
>  ld/testsuite/ld-pe/pdb-types1-typelist.d |  4 +++-
>  ld/testsuite/ld-pe/pdb-types1b.s         | 30 +++++++++++++++++++++++-
>  ld/testsuite/ld-pe/pdb.exp               |  2 +-
>  5 files changed, 59 insertions(+), 3 deletions(-)

Okay.

Jan



More information about the Binutils mailing list