[compiler-rt] r195624 - [ASan] Un-break the Windows build
Timur Iskhodzhanov
timurrrr at google.com
Mon Nov 25 00:02:41 PST 2013
2013/11/25 Timur Iskhodzhanov <timurrrr at google.com>:
> Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc?rev=195624&r1=195623&r2=195624&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
> +++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Mon Nov 25 01:54:55 2013
> @@ -31,7 +31,7 @@
>
> #include <stdarg.h>
>
> -#if SANITIZER_WINDOWS
> +#if SANITIZER_WINDOWS && !defined(va_copy)
> #define va_copy(dst, src) ((dst) = (src))
> #endif // _WIN32
Actually I've committed this bit by mistake.
I remember I needed it for something in the past, but can't recall
what for exactly. Probably, building the RTL with Clang?
Let this stick as it doesn't seem to harm and might be actually beneficial.
More information about the llvm-commits
mailing list