Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [asan/tsan] use InternalScopedBuffer instead of stack arrays. Use mmap ↵ | Kostya Serebryany | 2012-08-29 | 1 | -2/+4 | |
| | | | | | | inseted of InternalAlloc in InternalScopedBuffer llvm-svn: 162834 | |||||
* | [asan] get rid of AsanPrintf in favor of Printf from sanitizer_common | Kostya Serebryany | 2012-08-28 | 1 | -0/+1 | |
| | | | | llvm-svn: 162746 | |||||
* | [Sanitizer] align allocation sizes in low level allocator | Alexey Samsonov | 2012-08-27 | 1 | -2/+4 | |
| | | | | llvm-svn: 162676 | |||||
* | [Sanitizer] Use low-level allocator in flag parsing to avoid calling ↵ | Alexey Samsonov | 2012-08-27 | 1 | -1/+0 | |
| | | | | | | malloc() before ASan/TSan initialization is done llvm-svn: 162673 | |||||
* | [Sanitizer] move low-level (mmap-based) allocator to sanitizer_common | Alexey Samsonov | 2012-08-27 | 1 | -0/+15 | |
| | | | | llvm-svn: 162663 | |||||
* | [TSan] switch tsan to using InternalScopedBuffer from sanitizer_common | Alexey Samsonov | 2012-08-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 162351 | |||||
* | [Sanitizer] define InternalScopedBuffer to replace large arrays on stack. It ↵ | Alexey Samsonov | 2012-08-21 | 1 | -0/+24 | |
| | | | | | | is defined analogous to similar class in tsan and should replace it. llvm-svn: 162262 | |||||
* | [Sanitizer] implement straightforward nlogn sorting, as qsort() may call ↵ | Alexey Samsonov | 2012-07-16 | 1 | -1/+7 | |
| | | | | | | malloc, which leads to deadlock in ASan allocator llvm-svn: 160262 | |||||
* | tsan: Go language support | Dmitry Vyukov | 2012-07-05 | 1 | -5/+5 | |
| | | | | llvm-svn: 159754 | |||||
* | [Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use ↵ | Alexey Samsonov | 2012-07-03 | 1 | -0/+5 | |
| | | | | | | dl_iterate_phdr to get virtual addresses of mapped module sections. To symbolize an address from a module, map this module to memory and obtain pointers to debug info sections. Later these pointers can be passed to constructor of DWARF context-in-memory from LLVM DebugInfo lib. llvm-svn: 159652 | |||||
* | tsan/asan: unify atomics (move atomics from tsan to sanitizer_common) | Dmitry Vyukov | 2012-06-29 | 1 | -5/+0 | |
| | | | | llvm-svn: 159437 | |||||
* | tsan: remove internal allocator, switch to sanitizer_common one. | Dmitry Vyukov | 2012-06-25 | 1 | -1/+4 | |
| | | | | llvm-svn: 159142 | |||||
* | [tsan] more code for a specialized tsan allocator | Kostya Serebryany | 2012-06-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 158991 | |||||
* | [Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to ↵ | Alexey Samsonov | 2012-06-19 | 1 | -1/+0 | |
| | | | | | | sanitizer libc) llvm-svn: 158710 | |||||
* | [Sanitizer] move different wrappers from TSan to common sanitizer runtime | Alexey Samsonov | 2012-06-18 | 1 | -0/+2 | |
| | | | | llvm-svn: 158655 | |||||
* | [Sanitizer] move all the rest re-implementations of libc functions from ASan ↵ | Alexey Samsonov | 2012-06-15 | 1 | -0/+12 | |
| | | | | | | runtime to common sanitizer runtime llvm-svn: 158519 | |||||
* | [Sanitizer] move ShadowRangeIsAvailable and several defines to common runtime | Alexey Samsonov | 2012-06-15 | 1 | -0/+7 | |
| | | | | llvm-svn: 158499 | |||||
* | [Sanitizer] move atomic ops, min/max and sort to commnon runtime | Alexey Samsonov | 2012-06-15 | 1 | -3/+11 | |
| | | | | llvm-svn: 158496 | |||||
* | [Sanitizer] move more portability wrappers to common runtime: sleep, _exit, ↵ | Alexey Samsonov | 2012-06-15 | 1 | -0/+5 | |
| | | | | | | abort, atexit, pthread_self llvm-svn: 158493 | |||||
* | [Sanitizer] move DumpProcessMap and DisableCoreDumper to common runtime | Alexey Samsonov | 2012-06-15 | 1 | -0/+4 | |
| | | | | llvm-svn: 158490 | |||||
* | [Sanitizer] move rest of mmap routines to common sanitizer runtime | Alexey Samsonov | 2012-06-14 | 1 | -0/+5 | |
| | | | | llvm-svn: 158452 | |||||
* | [Sanitizer] move portable GetEnv to common sanitizer runtime | Alexey Samsonov | 2012-06-14 | 1 | -0/+1 | |
| | | | | llvm-svn: 158451 | |||||
* | [Sanitizer] Allocator for internal runtime purposes. Currently it calls ↵ | Alexey Samsonov | 2012-06-07 | 1 | -0/+2 | |
| | | | | | | libcmalloc, but we might have to make it more low-level in future llvm-svn: 158142 | |||||
* | [Sanitizer] Fix mac build. | Alexey Samsonov | 2012-06-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 158141 | |||||
* | [Sanitizer] factor out GetThreadStackTopAndBottom from ASan runtime to common. | Alexey Samsonov | 2012-06-07 | 1 | -1/+4 | |
| | | | | llvm-svn: 158140 | |||||
* | [Sanitizer] Move ReadFileToBuffer to sanitizer_common. | Alexey Samsonov | 2012-06-07 | 1 | -0/+7 | |
| | | | | llvm-svn: 158138 | |||||
* | [asan] more allocator compaction | Kostya Serebryany | 2012-06-06 | 1 | -0/+6 | |
| | | | | llvm-svn: 158082 | |||||
* | [Sanitizer] Switch to common mmap/munmap routines in ASan run-time. | Alexey Samsonov | 2012-06-06 | 1 | -1/+3 | |
| | | | | llvm-svn: 158078 | |||||
* | [Sanitizer] Use common CHECK machinery. Currently each tool has to define ↵ | Alexey Samsonov | 2012-06-06 | 1 | -4/+0 | |
| | | | | | | its own CheckFailed function. llvm-svn: 158075 | |||||
* | [Sanitizer] Remove __attribute__((format)) | Alexey Samsonov | 2012-06-06 | 1 | -3/+3 | |
| | | | | llvm-svn: 158070 | |||||
* | [Sanitizer]: Introduce a common internal printf function. For now, also use ↵ | Alexey Samsonov | 2012-06-06 | 1 | -0/+4 | |
| | | | | | | 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 | |||||
* | [Sanitizer] Move more functions/constants to sanitizer_common. | Alexey Samsonov | 2012-06-06 | 1 | -2/+24 | |
| | | | | llvm-svn: 158056 | |||||
* | [Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan ↵ | Alexey Samsonov | 2012-06-06 | 1 | -0/+28 | |
runtimes. Use __sanitizer::Die() in TSan. llvm-svn: 158050 |