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