22 Jan
2024
22 Jan
'24
3:46 p.m.
On Mon Jan 22 15:39:52 2024 +0000, Gabriel Ivăncescu wrote:
They seem to be well defined nowadays, on the x86 page: https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html They're there since [GCC 8 apparently](https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/x86-Function-Attributes.html), but I'm not sure if they were reliable back then or not. We can use a version check to guard them in such case? And of course we already use basic asm so that shouldn't be an issue right? No, for instance on gcc they contain a .seh_endprologue which interferes with SEH handling.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4883#note_58410