[PATCH 1/2] ntdll: Add DECLSPEC_HOTPATCH to string functions.
Paul Gofman
pgofman at codeweavers.com
Wed Dec 8 06:26:24 CST 2021
On 12/8/21 14:55, Roman Pišl wrote:
> This fixes LLVM ASAN an the ASAN then works as expected with Wine.
> Would something like this be acceptable for upstream?
Adding DECLSPEC_HOTPATCH to so many short and frequently called
functions looks rather unfortunate, it prevents some optimizations. Is
it maybe possible to check with LLVM ASAN code what does it really want
from these functions, does it expect exactly ms hook prologue or maybe
(probably?) not necessarily but something else around the function start
breaks it?
More information about the wine-devel
mailing list