From 4d39410b1e0896f7b39be15b42de35b96faaee6c Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Wed, 2 Oct 2019 22:00:29 +0000 Subject: [sanitizer_common] Declare __sanitizer_on_print in Windows interception. Speculative fix for Windows bot. llvm-svn: 373532 --- compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler-rt') diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp index a6081a8931a..b14bbf76d9a 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp +++ b/compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp @@ -38,6 +38,7 @@ int interceptWhenPossible(uptr dll_function, const char *real_function) { // Declare weak hooks. extern "C" { +void __sanitizer_on_print(const char *str); void __sanitizer_weak_hook_memcmp(uptr called_pc, const void *s1, const void *s2, uptr n, int result); void __sanitizer_weak_hook_strcmp(uptr called_pc, const char *s1, -- cgit v1.2.3