summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/tests/asan_test_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* [Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of ↵Timur Iskhodzhanov2014-05-131-1/+1
| | | | | | | | gtest.h conditional Reviewed at http://reviews.llvm.org/D3744 llvm-svn: 208696
* [Sanitizer tests] Make simple pthread tests compile and pass on WindowsTimur Iskhodzhanov2014-05-131-8/+5
| | | | | | Reviewed at http://reviews.llvm.org/D3725 llvm-svn: 208674
* [ASan] Update sanitizer_common and asan test_util headers to support ↵Timur Iskhodzhanov2014-05-081-3/+6
| | | | | | building on Windows llvm-svn: 208306
* A set of trivial changes to support sanitizers on FreeBSD.Alexey Samsonov2014-03-041-1/+1
| | | | | | Patch by Viktor Kutuzov! llvm-svn: 202801
* [asan] require __i686__ for the SSE test; also make weaker claims about ↵Kostya Serebryany2013-12-041-4/+0
| | | | | | stack buffer overflows in another test llvm-svn: 196375
* [asan] revert 196373: committed to many files by mistakeKostya Serebryany2013-12-041-0/+4
| | | | llvm-svn: 196374
* [asan] require __i686__ for the SSE test; also make weaker claims about ↵Kostya Serebryany2013-12-041-4/+0
| | | | | | stack buffer overflows in another test llvm-svn: 196373
* [asan] use short path for sanitizer_common/tests/sanitizer_test_utils.h, add ↵Kostya Serebryany2013-02-141-1/+1
| | | | | | -I sanitizer_common/tests to asan/tests/CMakeLists.txt llvm-svn: 175142
* [asan] run-time tests for adaptive redzones Kostya Serebryany2013-01-241-0/+3
| | | | llvm-svn: 173336
* [asan] simplify the code that poisons global redzones, add some more testsKostya Serebryany2013-01-231-0/+19
| | | | llvm-svn: 173251
* [asan] split asan_test.cc moreKostya Serebryany2013-01-221-0/+10
| | | | llvm-svn: 173130
* [asan] split asan_test.cc to speedup parallel build (most important if ↵Kostya Serebryany2013-01-221-0/+50
| | | | | | building with a debug clang, which takes a couple of minutes on this large file with templates). More splits to follow llvm-svn: 173129
* Move large part of asan_test_utils.h to sanitizer_common.Evgeniy Stepanov2013-01-141-47/+1
| | | | | | | | | Move my_rand() to the common header. This lets us avoid the use of rand_r in sanitizer_common tests. There is no rand_r on Android. llvm-svn: 172421
* ASan: add new interface functions - __asan_(un)poison_stack_memory. Calls to ↵Alexey Samsonov2012-12-041-1/+1
| | | | | | these functions are inserted by the instrumentation pass in use-after-scope mode llvm-svn: 169201
* [asan] EXPECT_EQ => ASSERT_EQ around pthread_create/pthread_join callsKostya Serebryany2012-12-031-2/+2
| | | | llvm-svn: 169121
* [asan] in asan tests, check all return values of ↵Kostya Serebryany2012-12-031-0/+4
| | | | | | pthread_create/pthread_join. Also add the ASAN_AVOID_EXPENSIVE_TESTS macro to guard the test that creates too many threads llvm-svn: 169118
* [asan] make asan_test.cc more gcc-friendlyKostya Serebryany2012-11-301-1/+1
| | | | llvm-svn: 168992
* [asan] simplify break_optimization in tests (Jakub Jelinek)Kostya Serebryany2012-11-301-2/+4
| | | | llvm-svn: 168990
* [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. ↵Kostya Serebryany2012-11-211-4/+2
| | | | | | Instead, define our own SANITIZER_WORDSIZE llvm-svn: 168424
* [ASan] Fix strchr/index tests for users who have 'char* strchr(char*,int)' ↵Alexey Samsonov2012-10-171-0/+2
| | | | | | instead of 'char* strchr(const char*, int)' llvm-svn: 166101
* [ASan] don't use attribute no_address_safety_analysis if it's unknown to ↵Alexey Samsonov2012-10-171-0/+7
| | | | | | compiler llvm-svn: 166099
* [ASan] Fix unit test headers. Add an option to change substitute ↵Alexey Samsonov2012-09-281-1/+7
| | | | | | asan_test_config.h file llvm-svn: 164821
* Whitespace/lintAlexey Samsonov2012-08-301-1/+1
| | | | llvm-svn: 162909
* [ASan/tests] Make 'noinline' and a bunch of other stuff portableTimur Iskhodzhanov2012-03-231-1/+27
| | | | llvm-svn: 153333
* AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵Kostya Serebryany2011-11-301-0/+30
build system, but can be built using the old makefile. See details in README.txt llvm-svn: 145463
OpenPOWER on IntegriCloud