f35db108b9
This patch imports the runtime library in the GCC tree, ensures that -lasan is passed to the linker when -faddress-sanitizer is used and sets up the build system accordingly. ChangeLog: * configure.ac: Add libsanitizer to target_libraries. * Makefile.def: Ditto. * configure: Regenerate. * Makefile.in: Regenerate. * libsanitizer: New directory for asan runtime. Contains an empty tsan directory. gcc/ChangeLog: * gcc.c (LINK_COMMAND_SPEC): Add -laddress-sanitizer to link command if -faddress-sanitizer is on. libsanitizer: Initial checkin: migrate asan runtime from llvm. From-SVN: r193441 |
||
---|---|---|
.. | ||
asan | ||
include/sanitizer | ||
interception | ||
sanitizer_common | ||
aclocal.m4 | ||
ChangeLog.asan | ||
config.guess | ||
config.sub | ||
configure | ||
configure.ac | ||
depcomp | ||
install-sh | ||
libtool-version | ||
LICENSE.TXT | ||
ltmain.sh | ||
Makefile.am | ||
Makefile.in | ||
missing | ||
README.gcc |
The AddressSanitizer (http://code.google.com/p/address-sanitizer) is a project developed by Google Inc. The source files of the project are hosted at http://llvm.org/svn/llvm-project/compiler-rt. These files are the ones in the asan subdirectory of that project.