summaryrefslogtreecommitdiffstats
path: root/compiler-rt
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
commit4d39410b1e0896f7b39be15b42de35b96faaee6c (patch)
tree40ed1d44013203a626c6a366a2cbc3765e254510 /compiler-rt
parent38ac6bdb83a9bb76c109901960c20d1714339891 (diff)
downloadbcm5719-llvm-4d39410b1e0896f7b39be15b42de35b96faaee6c.tar.gz
bcm5719-llvm-4d39410b1e0896f7b39be15b42de35b96faaee6c.zip
[sanitizer_common] Declare __sanitizer_on_print in Windows interception.
Speculative fix for Windows bot. llvm-svn: 373532
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp1
1 files changed, 1 insertions, 0 deletions
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,
OpenPOWER on IntegriCloud