[compiler-rt] r373532 - [sanitizer_common] Declare __sanitizer_on_print in Windows interception.

Matt Morehouse via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 15:00:29 PDT 2019


Author: morehouse
Date: Wed Oct  2 15:00:29 2019
New Revision: 373532

URL: http://llvm.org/viewvc/llvm-project?rev=373532&view=rev
Log:
[sanitizer_common] Declare __sanitizer_on_print in Windows interception.

Speculative fix for Windows bot.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_win_weak_interception.cpp

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win_weak_interception.cpp?rev=373532&r1=373531&r2=373532&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win_weak_interception.cpp (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win_weak_interception.cpp Wed Oct  2 15:00:29 2019
@@ -38,6 +38,7 @@ int interceptWhenPossible(uptr dll_funct
 
 // 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,




More information about the llvm-commits mailing list