forked from OSchip/llvm-project
13d95d5e5a
Patch by Timur Iskhodzhanov (timurrrr@google.com) The double-extern thing is http://llvm.org/bugs/show_bug.cgi?id=11869 And the #include <string[s].h> are only needed on Mac (see comments in the original code) and also including them might make strchr/index conflict with the g++ system headers (which don't follow the man pages, ouch!) llvm-svn: 149129 |
||
---|---|---|
.. | ||
mach_override | ||
scripts | ||
tests | ||
Makefile.mk | ||
Makefile.old | ||
README.txt | ||
asan_allocator.cc | ||
asan_allocator.h | ||
asan_globals.cc | ||
asan_interceptors.cc | ||
asan_interceptors.h | ||
asan_interface.h | ||
asan_internal.h | ||
asan_linux.cc | ||
asan_lock.h | ||
asan_mac.cc | ||
asan_mac.h | ||
asan_malloc_linux.cc | ||
asan_malloc_mac.cc | ||
asan_mapping.h | ||
asan_poisoning.cc | ||
asan_posix.cc | ||
asan_printf.cc | ||
asan_procmaps.h | ||
asan_rtl.cc | ||
asan_stack.cc | ||
asan_stack.h | ||
asan_stats.cc | ||
asan_stats.h | ||
asan_thread.cc | ||
asan_thread.h | ||
asan_thread_registry.cc | ||
asan_thread_registry.h |
README.txt
AddressSanitizer RT ================================ This directory contains sources of the AddressSanitizer (asan) run-time library. We are in the process of integrating AddressSanitizer with LLVM, stay tuned. Directory structre: README.txt : This file. Makefile.mk : Currently a stub for a proper makefile. not usable. Makefile.old : Old out-of-tree makefile, the only usable one so far. asan_*.{cc,h} : Sources of the asan run-time lirbary. mach_override/* : Utility to override functions on Darwin (MIT License). scripts/* : Helper scripts. Temporary build instructions (verified on linux): cd lib/asan make -f Makefile.old get_third_party # gets googletest and cpplint make -f Makefile.old test -j 8 CLANG_BUILD=/path/to/Release+Asserts # Optional: # make -f Makefile.old install # installs clang and rt to lib/asan_clang_linux For more info see http://code.google.com/p/address-sanitizer/