Import the asan runtime library into GCC tree
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
Showing
ChangeLog.asan
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/ChangeLog.asan
0 → 100644
libsanitizer/LICENSE.TXT
0 → 100644
libsanitizer/Makefile.am
0 → 100644
libsanitizer/Makefile.in
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/README.gcc
0 → 100644
libsanitizer/aclocal.m4
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
libsanitizer/asan/Makefile.am
0 → 100644
libsanitizer/asan/Makefile.in
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/asan/asan_allocator.cc
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/asan/asan_allocator.h
0 → 100644
libsanitizer/asan/asan_flags.h
0 → 100644
libsanitizer/asan/asan_globals.cc
0 → 100644
libsanitizer/asan/asan_interceptors.cc
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/asan/asan_interceptors.h
0 → 100644
libsanitizer/asan/asan_internal.h
0 → 100644
libsanitizer/asan/asan_linux.cc
0 → 100644
libsanitizer/asan/asan_lock.h
0 → 100644
libsanitizer/asan/asan_mac.cc
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/asan/asan_mac.h
0 → 100644
libsanitizer/asan/asan_malloc_linux.cc
0 → 100644
libsanitizer/asan/asan_malloc_mac.cc
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/asan/asan_malloc_win.cc
0 → 100644
libsanitizer/asan/asan_mapping.h
0 → 100644
libsanitizer/asan/asan_new_delete.cc
0 → 100644
libsanitizer/asan/asan_poisoning.cc
0 → 100644
libsanitizer/asan/asan_posix.cc
0 → 100644
libsanitizer/asan/asan_report.cc
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/asan/asan_report.h
0 → 100644
libsanitizer/asan/asan_rtl.cc
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/asan/asan_stack.cc
0 → 100644
libsanitizer/asan/asan_stack.h
0 → 100644
libsanitizer/asan/asan_stats.cc
0 → 100644
libsanitizer/asan/asan_stats.h
0 → 100644
libsanitizer/asan/asan_thread.cc
0 → 100644
libsanitizer/asan/asan_thread.h
0 → 100644
libsanitizer/asan/asan_thread_registry.cc
0 → 100644
libsanitizer/asan/asan_thread_registry.h
0 → 100644
libsanitizer/asan/asan_win.cc
0 → 100644
libsanitizer/asan/libtool-version
0 → 100644
libsanitizer/config.guess
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/config.sub
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/configure
0 → 100755
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
libsanitizer/configure.ac
0 → 100644
libsanitizer/depcomp
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/install-sh
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/interception/Makefile.am
0 → 100644
libsanitizer/interception/Makefile.in
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/interception/interception.h
0 → 100644
libsanitizer/interception/interception_mac.h
0 → 100644
libsanitizer/interception/interception_win.h
0 → 100644
libsanitizer/libtool-version
0 → 100644
libsanitizer/ltmain.sh
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
libsanitizer/missing
0 → 100644
This diff is collapsed.
Click to expand it.
libsanitizer/sanitizer_common/Makefile.am
0 → 100644
libsanitizer/sanitizer_common/Makefile.in
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment