1AddressSanitizer RT
2================================
3This directory contains sources of the AddressSanitizer (asan) runtime library.
4We are in the process of integrating AddressSanitizer with LLVM, stay tuned.
5
6Directory structure:
7README.txt       : This file.
8Makefile.mk      : File for make-based build.
9CMakeLists.txt   : File for cmake-based build.
10asan_*.{cc,h}    : Sources of the asan runtime library.
11scripts/*        : Helper scripts.
12tests/*          : ASan unit tests.
13
14Also ASan runtime needs the following libraries:
15lib/interception/      : Machinery used to intercept function calls.
16lib/sanitizer_common/  : Code shared between ASan and TSan.
17
18Currently ASan runtime can be built by both make and cmake build systems.
19(see compiler-rt/make and files Makefile.mk for make-based build and
20files CMakeLists.txt for cmake-based build).
21
22ASan unit and output tests work only with cmake. You may run this
23command from the root of your cmake build tree:
24
25make check-asan
26
27For more instructions see:
28http://code.google.com/p/address-sanitizer/wiki/HowToBuild
29