https://bugs.winehq.org/show_bug.cgi?id=39580
--- Comment #5 from Sergey Isakov isakov-sl@bk.ru --- (In reply to Dmitry Timoshkov from comment #2)
https://llvm.org/bugs/show_bug.cgi?id=8851
Probably you should know before spending more time on this that Wine can't work on 64-bit MacOS X due to technical incompatibilities.
As you see recent Clang has support for this function and I reported a bug in wine sources that uses va_list instead of _builtin_ms_va_list. They are not the same for the clang.