summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2019-10-02 22:00:29 +0000
committerMatt Morehouse <mascasa@google.com>2019-10-02 22:00:29 +0000
commitf1c1315d806c358795f78be74dcedebed8ebc937 (patch)
treefffe268bbf41a525b9676ebdb55533e92565733b
parent8cfda3057d3cd96793aecfe4514906cb4040f4ff (diff)
downloadcompiler-rt-f1c1315d806c358795f78be74dcedebed8ebc937.tar.gz
[sanitizer_common] Declare __sanitizer_on_print in Windows interception.
Speculative fix for Windows bot. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@373532 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/sanitizer_common/sanitizer_win_weak_interception.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_win_weak_interception.cpp b/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
index a6081a893..b14bbf76d 100644
--- a/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
+++ b/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,