[sanitizer_common] Declare __sanitizer_on_print in Windows interception.
authorMatt Morehouse <mascasa@google.com>
Wed, 2 Oct 2019 22:00:29 +0000 (22:00 +0000)
committerMatt Morehouse <mascasa@google.com>
Wed, 2 Oct 2019 22:00:29 +0000 (22:00 +0000)
Speculative fix for Windows bot.

llvm-svn: 373532

compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp

index a6081a8..b14bbf7 100644 (file)
@@ -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,