[PATCH] ld/PDB: handle empty LF_FIELDLIST types

Jan Beulich jbeulich@suse.com
Tue Jul 30 07:02:56 GMT 2024


On 29.07.2024 23:57, Mark Harmstone wrote:
> Empty structs in C++ lead to empty LF_FIELDLIST types in the .debug$T
> section, but we were mistakenly rejecting these as invalid. Allow
> CodeView types of two bytes, and add a test for this.
> ---
>  ld/pdb.c                                 |  2 +-
>  ld/testsuite/ld-pe/pdb-types1-typelist.d |  5 ++++-
>  ld/testsuite/ld-pe/pdb-types1b.s         | 20 +++++++++++++++++++-
>  ld/testsuite/ld-pe/pdb.exp               |  2 +-
>  4 files changed, 25 insertions(+), 4 deletions(-)

Okay.

Jan



More information about the Binutils mailing list