From: Yury Gribov Date: Thu, 28 May 2015 10:21:59 +0000 (+0000) Subject: [ASan] Add new interceptors to asan_win_dll_thunk.cc to fix build errors on Windows. X-Git-Tag: llvmorg-3.7.0-rc1~3624 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73570f43234281e34ed0330c981444daecefb992;p=platform%2Fupstream%2Fllvm.git [ASan] Add new interceptors to asan_win_dll_thunk.cc to fix build errors on Windows. Patch by Maria Guseva! llvm-svn: 238407 --- diff --git a/compiler-rt/lib/asan/asan_win_dll_thunk.cc b/compiler-rt/lib/asan/asan_win_dll_thunk.cc index a50ea23..b77f181 100644 --- a/compiler-rt/lib/asan/asan_win_dll_thunk.cc +++ b/compiler-rt/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);