diff options
author | Kostya Serebryany <kcc@google.com> | 2012-01-23 21:20:05 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-01-23 21:20:05 +0000 |
commit | f3810ea150e140f49bd62123885df922fe3c3b81 (patch) | |
tree | 5c640e3b5756c5c146ac7d8fa78ddbf954e6e2e9 /lib/asan/asan_interceptors.h | |
parent | b19cfb271ea10ae2fac68a9b74256ad746ca5e51 (diff) | |
download | compiler-rt-f3810ea150e140f49bd62123885df922fe3c3b81.tar.gz compiler-rt-f3810ea150e140f49bd62123885df922fe3c3b81.tar.bz2 compiler-rt-f3810ea150e140f49bd62123885df922fe3c3b81.tar.xz |
[asan] use internal_strcmp before asan_init is done. *may* fix asan issue #30
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_interceptors.h')
-rw-r--r-- | lib/asan/asan_interceptors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asan/asan_interceptors.h b/lib/asan/asan_interceptors.h index fb8a5575..7f9e812e 100644 --- a/lib/asan/asan_interceptors.h +++ b/lib/asan/asan_interceptors.h @@ -70,6 +70,7 @@ void* internal_memchr(const void* s, int c, size_t n); int internal_memcmp(const void* s1, const void* s2, size_t n); char *internal_strstr(const char *haystack, const char *needle); char *internal_strncat(char *dst, const char *src, size_t n); +int internal_strcmp(const char *s1, const char *s2); void InitializeAsanInterceptors(); |