mirror of
https://github.com/darlinghq/darling-compiler-rt.git
synced 2024-11-27 13:50:30 +00:00
bdc0e9eb24
This is a re-application of r229554 restricted to Linux build only. Apple still uses Makefile/autoconf to build Clang and sanitizers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@229756 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
914 B
Plaintext
27 lines
914 B
Plaintext
AddressSanitizer RT
|
|
================================
|
|
This directory contains sources of the AddressSanitizer (ASan) runtime library.
|
|
|
|
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 various sanitizers.
|
|
|
|
ASan runtime currently also embeds part of LeakSanitizer runtime for
|
|
leak detection (lib/lsan/lsan_common.{cc,h}).
|
|
|
|
ASan runtime can only be built by CMake. You can run ASan tests
|
|
from the root of your CMake build tree:
|
|
|
|
make check-asan
|
|
|
|
For more instructions see:
|
|
http://code.google.com/p/address-sanitizer/wiki/HowToBuild
|