forked from OSchip/llvm-project
fe18102649
Reset coverage data on fork(). For memory-mapped mode (coverage_direct=1) this helps avoid loss of data (before this change two processes would write to the same file simultaneously). For normal mode, this reduces coverage dump size, because PCs from the parent process are no longer inherited by the child. llvm-svn: 210180 |
||
---|---|---|
.. | ||
scripts | ||
tests | ||
CMakeLists.txt | ||
Makefile.mk | ||
README.txt | ||
asan.syms.extra | ||
asan_activation.cc | ||
asan_activation.h | ||
asan_allocator.h | ||
asan_allocator2.cc | ||
asan_asm_instrumentation.S | ||
asan_blacklist.txt | ||
asan_dll_thunk.cc | ||
asan_fake_stack.cc | ||
asan_fake_stack.h | ||
asan_flags.h | ||
asan_globals.cc | ||
asan_interceptors.cc | ||
asan_interceptors.h | ||
asan_interface_internal.h | ||
asan_internal.h | ||
asan_linux.cc | ||
asan_lock.h | ||
asan_mac.cc | ||
asan_malloc_linux.cc | ||
asan_malloc_mac.cc | ||
asan_malloc_win.cc | ||
asan_mapping.h | ||
asan_new_delete.cc | ||
asan_poisoning.cc | ||
asan_poisoning.h | ||
asan_posix.cc | ||
asan_preinit.cc | ||
asan_report.cc | ||
asan_report.h | ||
asan_rtl.cc | ||
asan_stack.cc | ||
asan_stack.h | ||
asan_stats.cc | ||
asan_stats.h | ||
asan_thread.cc | ||
asan_thread.h | ||
asan_win.cc |
README.txt
AddressSanitizer RT ================================ This directory contains sources of the AddressSanitizer (asan) runtime library. We are in the process of integrating AddressSanitizer with LLVM, stay tuned. Directory structure: README.txt : This file. Makefile.mk : File for make-based build. CMakeLists.txt : File for cmake-based build. asan_*.{cc,h} : Sources of the asan runtime library. scripts/* : Helper scripts. tests/* : ASan unit tests. Also ASan runtime needs the following libraries: lib/interception/ : Machinery used to intercept function calls. lib/sanitizer_common/ : Code shared between ASan and TSan. Currently ASan runtime can be built by both make and cmake build systems. (see compiler-rt/make and files Makefile.mk for make-based build and files CMakeLists.txt for cmake-based build). ASan unit and output tests work only with cmake. You may run this command from the root of your cmake build tree: make check-asan For more instructions see: http://code.google.com/p/address-sanitizer/wiki/HowToBuild