summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/lit_tests/interface_symbols.c
Commit message (Collapse)AuthorAgeFilesLines
* [ASan] Moved interface_symbols.c to lit_tests/Linux.Alexander Potapenko2013-01-221-28/+0
| | | | | | We already have Darwin-specific version of this test. llvm-svn: 173136
* ASan: fix interface-symbols test on Mac by explicitly listing all weak functionsAlexey Samsonov2012-12-081-1/+6
| | | | llvm-svn: 169660
* ASan: change the strategy we use for installing malloc/free/symbolization ↵Alexey Samsonov2012-12-071-1/+2
| | | | | | hooks on Linux: don't provide a default no-op implementations for hooks in runtime, and optionally call hooks if they are provided by the user. Don't force weak interface functions into runtime. llvm-svn: 169641
* Update compiler-rt tests to match flag renaming/deprecation in Clang.Richard Smith2012-11-061-1/+1
| | | | llvm-svn: 167434
* 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] get rid of ASAN_USE_EXTERNAL_SYMBOLIZER compiler def in favor of ↵Alexey Samsonov2012-08-221-2/+3
| | | | | | __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] lit tests: use nm instead of llvm-nm, until llvm-nm becomes usable on ↵Alexey Samsonov2012-08-151-1/+1
| | | | | | 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-151-0/+20
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
OpenPOWER on IntegriCloud