forked from OSchip/llvm-project
Address post-commit feedback on r230344: Don't use weak hooks on Sanitizer Go build for Windows
llvm-svn: 230507
This commit is contained in:
parent
40d72d9a1f
commit
5c3f1c91f2
|
@ -32,7 +32,7 @@
|
||||||
# define SANITIZER_WEAK_ATTRIBUTE __attribute__((weak))
|
# define SANITIZER_WEAK_ATTRIBUTE __attribute__((weak))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (SANITIZER_LINUX && !defined(SANITIZER_GO)) || SANITIZER_WINDOWS
|
#if (SANITIZER_LINUX || SANITIZER_WINDOWS) && !defined(SANITIZER_GO)
|
||||||
# define SANITIZER_SUPPORTS_WEAK_HOOKS 1
|
# define SANITIZER_SUPPORTS_WEAK_HOOKS 1
|
||||||
#else
|
#else
|
||||||
# define SANITIZER_SUPPORTS_WEAK_HOOKS 0
|
# define SANITIZER_SUPPORTS_WEAK_HOOKS 0
|
||||||
|
|
Loading…
Reference in New Issue