https://bugs.winehq.org/show_bug.cgi?id=48297
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- It's probably because clang generates calls to memcpy, memset etc. using the host calling convention. There doesn't seem to be a good way of avoiding that, so it may require clang patches.