Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [msan] Simplify test code. | Evgeniy Stepanov | 2013-01-22 | 1 | -4/+2 | |
| | | | | llvm-svn: 173155 | |||||
* | [msan] Test handling of volatile bitfields. | Evgeniy Stepanov | 2013-01-22 | 1 | -0/+16 | |
| | | | | llvm-svn: 173154 | |||||
* | [msan] Stop using volatile assignments as undef checks in MSan tests. | Evgeniy Stepanov | 2013-01-22 | 1 | -429/+430 | |
| | | | | | | | A runtime call is used instead. MSan will stop adding shadow checks on volatile stores soon. llvm-svn: 173152 | |||||
* | CMake: use add_compiler_rt_static_runtime to build TSan and MSan runtimes. ↵ | Alexey Samsonov | 2013-01-20 | 1 | -11/+9 | |
| | | | | | | No functionality change. llvm-svn: 172978 | |||||
* | CMake: create AddCompilerRT module and implement convenience ↵ | Alexey Samsonov | 2013-01-18 | 1 | -1/+0 | |
| | | | | | | add_compiler_rt_object_library function llvm-svn: 172826 | |||||
* | [sanitizer] lint | Evgeniy Stepanov | 2013-01-18 | 1 | -2/+7 | |
| | | | | llvm-svn: 172817 | |||||
* | [sanitizer] Rename 2 files *.h->*.inc as appropriate. | Evgeniy Stepanov | 2013-01-18 | 1 | -1/+1 | |
| | | | | | | Also add a missing include. llvm-svn: 172814 | |||||
* | CMake variables renaming: X86_64->x86_64 I386->i386 | Alexey Samsonov | 2013-01-18 | 2 | -2/+2 | |
| | | | | llvm-svn: 172812 | |||||
* | [sanitizer] Fix Mac build. | Evgeniy Stepanov | 2013-01-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 172809 | |||||
* | [sanitizer] Common *scanf interceptors. | Evgeniy Stepanov | 2013-01-18 | 2 | -6/+25 | |
| | | | | llvm-svn: 172805 | |||||
* | [sanitizer] reapply r172719, r172721-172723, r172725, and also fix the ↵ | Kostya Serebryany | 2013-01-18 | 1 | -27/+11 | |
| | | | | | | warning on Mac. llvm-svn: 172791 | |||||
* | Revert r172719, r172721-172723, and r172725. | Jakob Stoklund Olesen | 2013-01-17 | 1 | -11/+27 | |
| | | | | | | | | | | | | | | | | | | The r172719 patch broke the build on Mac, the others depended on it. compiler-rt/lib/asan/asan_interceptors.cc:78:13: error: unused function 'SetThreadName' [-Werror,-Wunused-function] static void SetThreadName(const char *name) { Orignal headlines: [asan] attempting to fix the Mac build [asan] restructure read/pread/pread64 tests [sanitizer] move write/pwrite/pwrite64 interceptors to common [msan] start using common interceptors in msan [tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too llvm-svn: 172763 | |||||
* | [msan] start using common interceptors in msan | Kostya Serebryany | 2013-01-17 | 1 | -27/+11 | |
| | | | | llvm-svn: 172721 | |||||
* | [msan] More interceptors. | Evgeniy Stepanov | 2013-01-17 | 5 | -0/+120 | |
| | | | | | | strtod and friends, dladdr, getrusage llvm-svn: 172720 | |||||
* | [sanitizer] better statistics for the large allocator | Kostya Serebryany | 2013-01-10 | 1 | -1/+0 | |
| | | | | llvm-svn: 172069 | |||||
* | [msan] Set program exit code in keep-going mode. | Evgeniy Stepanov | 2013-01-10 | 4 | -1/+29 | |
| | | | | llvm-svn: 172057 | |||||
* | [sanitizer] add statistics to the allocator; fix lint | Kostya Serebryany | 2012-12-27 | 2 | -2/+3 | |
| | | | | llvm-svn: 171161 | |||||
* | Define COMPILER_RT_CAN_EXECUTE_TESTS variable on platforms where we can ↵ | Alexey Samsonov | 2012-12-27 | 1 | -14/+13 | |
| | | | | | | produce working binaries and use it in build rules for sanitizers tests llvm-svn: 171160 | |||||
* | [msan] Explicitly link unit tests with libstdc++. | Evgeniy Stepanov | 2012-12-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 171151 | |||||
* | [msan] MSan, New Year Tree style. | Evgeniy Stepanov | 2012-12-26 | 1 | -3/+31 | |
| | | | | llvm-svn: 171106 | |||||
* | [msan] Refactor report printing. | Evgeniy Stepanov | 2012-12-26 | 4 | -32/+86 | |
| | | | | llvm-svn: 171105 | |||||
* | [msan] Check for conflicting memory mappings. | Evgeniy Stepanov | 2012-12-26 | 2 | -1/+9 | |
| | | | | | | | Check for conflicting memory mappings before attempting to map shadow. Helps avoid segfault on Linux with disabled ASLR. llvm-svn: 171100 | |||||
* | [msan] Improve recvfrom interceptor. | Evgeniy Stepanov | 2012-12-25 | 3 | -1/+14 | |
| | | | | llvm-svn: 171071 | |||||
* | Add MSan unit tests to check-msan and check-all. | Evgeniy Stepanov | 2012-12-25 | 3 | -2/+52 | |
| | | | | llvm-svn: 171065 | |||||
* | MemorySanitizer unit tests. | Evgeniy Stepanov | 2012-12-25 | 5 | -14/+1826 | |
| | | | | llvm-svn: 171062 | |||||
* | [msan] Fix header comments. | Evgeniy Stepanov | 2012-12-25 | 3 | -3/+3 | |
| | | | | llvm-svn: 171059 | |||||
* | [Sanitizer] use INTERCEPT_FUNCTION(foo) instead of ↵ | Alexey Samsonov | 2012-12-14 | 1 | -75/+75 | |
| | | | | | | CHECK(INTERCEPT_FUNCTION(foo)) - this check may fail on Linux if user program defines its own version of library function foo llvm-svn: 170189 | |||||
* | [sanitizer] replace size_t with SIZE_T in interceptors (same for ssize_t, ↵ | Kostya Serebryany | 2012-12-13 | 1 | -79/+75 | |
| | | | | | | off_t and off64_t). This is done to avoid confusion and to make the code work with compilers that define size_t w/o any includes (MSVC) llvm-svn: 170103 | |||||
* | [sanitizer] add OnMap/OnUmap callbacks to the allocator interface | Kostya Serebryany | 2012-12-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 169985 | |||||
* | [msan] Remove an extra semicolon. | Evgeniy Stepanov | 2012-12-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 169967 | |||||
* | [asan] add sanitizer_common/sanitizer_common_interceptors.h with ↵ | Kostya Serebryany | 2012-12-12 | 1 | -0/+3 | |
| | | | | | | pread/pread64/read interceptors. Use it in asan. Add asan tests for pread/etc. Add FIXME to tsan/msan interceptors llvm-svn: 169966 | |||||
* | [msan] MemorySanitizer runtime. | Evgeniy Stepanov | 2012-12-11 | 10 | -0/+1777 | |
Initial commit of the MemorySanitizer runtime library. llvm-svn: 169858 |