Re: [PATCH] Fix size of register buffer

Tom de Vries
2024-10-30T08:58:38Z

On 10/28/24 21:02, Hannes Domani wrote:
> Am Montag, 28. Oktober 2024 um 20:44:32 MEZ hat Tom Tromey <tom@tromey.com> Folgendes geschrieben:
>
>>>>>>> "Hannes" == Hannes Domani <ssbssa@yahoo.de> writes:
>>
>> Hannes> It's because the first 4 double arguments are passed via XMM registers,
>> Hannes> and they need a buffer of 16 bytes, even if we only use 8 bytes of them.
>
> Pushed, thanks.

Hi Hannes,

I had a question about what we could do to detect this problem without
address sanitizer, and ended up writing a patch (
https://sourceware.org/pipermail/gdb-patches/2024-October/212723.html )
which unfortunately I cannot test.

It would be great if you or anybody else with a windows setup could test
that patch.

Thanks,
- Tom