- Jun 15, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158522
-
Alexey Samsonov authored
[Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime llvm-svn: 158519
-
Alexey Samsonov authored
[Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. llvm-svn: 158517
-
Alexey Samsonov authored
llvm-svn: 158502
-
Alexey Samsonov authored
llvm-svn: 158499
-
Alexey Samsonov authored
llvm-svn: 158496
-
Alexey Samsonov authored
[Sanitizer] move more portability wrappers to common runtime: sleep, _exit, abort, atexit, pthread_self llvm-svn: 158493
-
Alexey Samsonov authored
llvm-svn: 158490
-
- Jun 14, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158452
-
Alexey Samsonov authored
llvm-svn: 158451
-
Alexey Samsonov authored
llvm-svn: 158450
-
Alexey Samsonov authored
[Sanitizer] Workaround for -Wunused-private-field warning - add an attribute in TSan unit test, and silence this warning as gtest has unused fields. llvm-svn: 158449
-
- Jun 09, 2012
-
-
Alexey Samsonov authored
[Sanitizer] Use __libc_malloc/__libc_free instead of malloc/free inside internal allocator on Linux (important for TSan) llvm-svn: 158261
-
- Jun 08, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158202
-
- Jun 07, 2012
-
-
Alexey Samsonov authored
[Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make internal allocations from TSan runtime call InternalAlloc from common runtime llvm-svn: 158148
-
Alexey Samsonov authored
llvm-svn: 158147
-
Alexey Samsonov authored
llvm-svn: 158145
-
Alexey Samsonov authored
llvm-svn: 158144
-
Alexey Samsonov authored
[Sanitizer] Allocator for internal runtime purposes. Currently it calls libcmalloc, but we might have to make it more low-level in future llvm-svn: 158142
-
Alexey Samsonov authored
llvm-svn: 158141
-
Alexey Samsonov authored
llvm-svn: 158140
-
Alexey Samsonov authored
llvm-svn: 158139
-
Alexey Samsonov authored
llvm-svn: 158138
-
- Jun 06, 2012
-
-
Kostya Serebryany authored
llvm-svn: 158082
-
Alexey Samsonov authored
llvm-svn: 158078
-
Alexey Samsonov authored
llvm-svn: 158077
-
Alexey Samsonov authored
[Sanitizer] Use common CHECK machinery. Currently each tool has to define its own CheckFailed function. llvm-svn: 158075
-
Kostya Serebryany authored
llvm-svn: 158071
-
Alexey Samsonov authored
llvm-svn: 158070
-
Alexey Samsonov authored
llvm-svn: 158067
-
Alexey Samsonov authored
[Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). llvm-svn: 158065
-
Alexey Samsonov authored
llvm-svn: 158057
-
Alexey Samsonov authored
llvm-svn: 158056
-
Alexey Samsonov authored
llvm-svn: 158052
-
Alexey Samsonov authored
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan. llvm-svn: 158050
-
- Jun 05, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158001
-
Alexey Samsonov authored
llvm-svn: 158000
-
Alexey Samsonov authored
[Sanitizer] Use common defines for ASan and TSan runtime. Split defines between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines. llvm-svn: 157998
-
Alexey Samsonov authored
[Sanitizer] add sanitizer_posix.cc. Move more various functions into sanitizer_libc: sscanf, munmap, memchr llvm-svn: 157994
-
Alexey Samsonov authored
llvm-svn: 157990
-