summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Gribov <y.gribov@samsung.com>2015-05-28 10:21:59 +0000
committerYury Gribov <y.gribov@samsung.com>2015-05-28 10:21:59 +0000
commitcb85a49273f9c60998656315df87b5b1090c5811 (patch)
tree2c7a9414846ba43b627a2b14630c5cb8679a1fe3
parentf2fa25015a85f504430864b8038c99995fd3fa95 (diff)
downloadcompiler-rt-cb85a49273f9c60998656315df87b5b1090c5811.tar.gz
[ASan] Add new interceptors to asan_win_dll_thunk.cc to fix build errors on Windows.
Patch by Maria Guseva! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@238407 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/asan/asan_win_dll_thunk.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/asan/asan_win_dll_thunk.cc b/lib/asan/asan_win_dll_thunk.cc
index a50ea23de..b77f18168 100644
--- a/lib/asan/asan_win_dll_thunk.cc
+++ b/lib/asan/asan_win_dll_thunk.cc
@@ -381,11 +381,15 @@ INTERCEPT_LIBRARY_FUNCTION(strcat); // NOLINT
INTERCEPT_LIBRARY_FUNCTION(strchr);
INTERCEPT_LIBRARY_FUNCTION(strcmp);
INTERCEPT_LIBRARY_FUNCTION(strcpy); // NOLINT
+INTERCEPT_LIBRARY_FUNCTION(strcspn);
INTERCEPT_LIBRARY_FUNCTION(strlen);
INTERCEPT_LIBRARY_FUNCTION(strncat);
INTERCEPT_LIBRARY_FUNCTION(strncmp);
INTERCEPT_LIBRARY_FUNCTION(strncpy);
INTERCEPT_LIBRARY_FUNCTION(strnlen);
+INTERCEPT_LIBRARY_FUNCTION(strpbrk);
+INTERCEPT_LIBRARY_FUNCTION(strspn);
+INTERCEPT_LIBRARY_FUNCTION(strstr);
INTERCEPT_LIBRARY_FUNCTION(strtol);
INTERCEPT_LIBRARY_FUNCTION(wcslen);