summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/lit_tests
Commit message (Collapse)AuthorAgeFilesLines
...
* [ASan] use llvm-symbolizer (in offline mode) in ASan output tests on LinuxAlexey Samsonov2012-09-283-0/+13
| | | | llvm-svn: 164819
* [asan] add asan option log_path=PATH to let users redirect asan reports to a ↵Kostya Serebryany2012-09-141-0/+39
| | | | | | file PATH.PID instead of stderr llvm-svn: 163872
* [ASan] hack initialization-bug test so that it stably passes on both Linux ↵Alexey Samsonov2012-09-072-8/+27
| | | | | | and Mac: make the bug appear independent of the translation unit order llvm-svn: 163381
* [ASan] add Linux-specific test for initialization order that checks that we ↵Alexey Samsonov2012-09-071-0/+37
| | | | | | find a bug independently of translation units order llvm-svn: 163379
* [asan] increase max stack size to 256 (+test)Kostya Serebryany2012-09-061-0/+36
| | | | llvm-svn: 163308
* [ASan] Hack ASan lit config to allow running lit on tests manuallyAlexey Samsonov2012-09-052-14/+52
| | | | llvm-svn: 163209
* [asan] added tests for asan-initialization-order, patch by Reid WatsonKostya Serebryany2012-09-057-0/+166
| | | | llvm-svn: 163207
* [ASan] Add print_full_thread_history runtime option (on by default) that ↵Alexey Samsonov2012-09-051-0/+61
| | | | | | prints all full thread creation paths for threads involved in ASan error report llvm-svn: 163200
* [ASan] fix flakiness of Linux-specific clone_test: waitpid should better be ↵Alexey Samsonov2012-08-291-7/+16
| | | | | | provided with __WCLONE option, otherwise it didn't wait for the subprocess, returned -1, and we went crushing the subprocess stack llvm-svn: 162842
* Relocate the external headers provided by ASan and the common sanitizerChandler Carruth2012-08-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | library. These headers are intended to be available to user code when built with AddressSanitizer (or one of the other sanitizer's in the future) to interface with the runtime library. As such, they form stable external C interfaces, and the headers shouldn't be located within the implementation. I've pulled them out into what seem like fairly obvious locations and names, but I'm wide open to further bikeshedding of these names and locations. I've updated the code and the build system to cope with the new locations, both CMake and Makefile. Please let me know if this breaks anyone's build. The eventual goal is to install these headers along side the Clang builtin headers when we build the ASan runtime and install it. My current thinking is to locate them at: <prefix>/lib/clang/X.Y/include/sanitizer/common_interface_defs.h <prefix>/lib/clang/X.Y/include/sanitizer/asan_interface.h <prefix>/lib/clang/X.Y/include/sanitizer/... But maybe others have different suggestions? Fixing the style of the #include between these headers at least unblocks experimentation with installing them as they now should work when installed in these locations. llvm-svn: 162822
* [ASan] use write instead of puts in malloc hooks test for ASan, as puts ↵Alexey Samsonov2012-08-221-3/+7
| | | | | | calls malloc on Mac llvm-svn: 162359
* [ASan] get rid of ASAN_USE_EXTERNAL_SYMBOLIZER compiler def in favor of ↵Alexey Samsonov2012-08-222-2/+24
| | | | | | __asan_set_symbolize_callback interface function. Now the user doesn't have to recompile ASan runtime to provide its own symbolizer llvm-svn: 162358
* [ASan] make ASan malloc/free hooks weak interface functions, overridable by ↵Alexey Samsonov2012-08-221-0/+20
| | | | | | user. Now the user can control malloc/free hooks without recompiling ASan runtime llvm-svn: 162355
* [ASan] lit tests: use nm instead of llvm-nm, until llvm-nm becomes usable on ↵Alexey Samsonov2012-08-153-4/+8
| | | | | | Mac. Port output test change in r161948 to lit llvm-svn: 161951
* [ASan] Port (the last one) tricky interface_test to lit, and a *huge* chunks ↵Alexey Samsonov2012-08-1518-92/+244
| | | | | | of boilerplate to run tests for 32/64 bits and all optimization levels. Alas, lit doesn't support for loops in RUN-lines... llvm-svn: 161941
* [ASan] use clangxx_asan instead of clang_asan for C++ lit testsAlexey Samsonov2012-08-1518-22/+24
| | | | llvm-svn: 161936
* [ASan] port remaining output and feature tests to lit. TODO: we should in ↵Alexey Samsonov2012-08-1513-0/+284
| | | | | | fact run most of the tests for 32/64 bits and for all optimization levels llvm-svn: 161935
* [ASan] port interception and shared library tests to litAlexey Samsonov2012-08-158-0/+246
| | | | llvm-svn: 161933
* [ASan] make sure __asan_default_options gets default visibility, port ↵Alexey Samsonov2012-08-141-0/+15
| | | | | | corresponding test to lit llvm-svn: 161869
* [ASan] support for running OS-specific tests using lit, port clone_test as ↵Alexey Samsonov2012-08-143-0/+43
| | | | | | an example llvm-svn: 161864
* [ASan] CMake support for building ASan runtime as a universal binary on MacAlexey Samsonov2012-08-101-1/+1
| | | | llvm-svn: 161665
* [ASan] simplify cmake rules for adding lit testsuitesAlexey Samsonov2012-08-071-9/+6
| | | | llvm-svn: 161412
* [ASan] add llvm_tools_dir to lit.site.cfg for ASan and add it to PATHAlexey Samsonov2012-08-071-0/+9
| | | | llvm-svn: 161411
* [ASan] Add support for running unit tests by lit (as a part of 'make ↵Alexey Samsonov2012-08-074-7/+68
| | | | | | check-asan' command) llvm-svn: 161406
* First tiny move towards integrating AddressSanitizer regressions test into ↵Alexey Samsonov2012-07-314-0/+88
LLVM lit-based testing infrastructure. The goal is to be able to run ASan tests by simply running "make check-asan" command from CMake build tree: * tests should use fresh clang binary from current build tree. * tests should use the same RUN-lines syntax as llvm/clang reg tests. Next steps: - restricting tests to machines where target is equal to host, i.e. where we can produce working binaries. - moving AddressSanitizer unit tests to lit as well. llvm-svn: 161050
OpenPOWER on IntegriCloud