gcc/libsanitizer
Jakub Jelinek 7d61373544 re PR sanitizer/56393 (SIGSEGV when -fsanitize=address and dynamic lib with global objects)
PR sanitizer/56393
	* config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o
	if not linking a shared library.

	* lib/asan-dg.exp (asan_link_flags): Add
	-B${gccpath}/libsanitizer/asan/ to flags.

	* asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
	libasan_preinit.o.
	(libasan_preinit.o): Depend on asan_preinit.o.
	* asan/Makefile.in: Regenerated.
	* asan/asan_preinit.cc: New file, synced from upstream.
	* asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.

From-SVN: r196222
2013-02-22 17:07:36 +01:00
..
asan re PR sanitizer/56393 (SIGSEGV when -fsanitize=address and dynamic lib with global objects) 2013-02-22 17:07:36 +01:00
include/sanitizer libsanitizer merge from upstream r175733 2013-02-21 10:57:10 +00:00
interception OFF_T: Merged from upstream r175140 2013-02-14 08:54:01 -08:00
sanitizer_common libsanitizer merge from upstream r175733 2013-02-21 10:57:10 +00:00
tsan libsanitizer merge from upstream r175733 2013-02-21 10:57:10 +00:00
acinclude.m4 Update configure.ac for GCC tree and remove unused files 2012-11-13 16:02:12 -08:00
aclocal.m4 Add libstdc++-raw-cxx.m4 and use it in libsanitizer 2012-12-11 13:32:11 -08:00
ChangeLog re PR sanitizer/56393 (SIGSEGV when -fsanitize=address and dynamic lib with global objects) 2013-02-22 17:07:36 +01:00
configure Remove "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS 2013-01-07 10:23:42 -08:00
configure.ac Add libstdc++-raw-cxx.m4 and use it in libsanitizer 2012-12-11 13:32:11 -08:00
configure.tgt configure.tgt: Disable build on darwin9 and earlier. 2013-02-11 23:13:37 +00:00
libtool-version
LICENSE.TXT
Makefile.am Restore AM_MAKEFLAGS in libsanitizer 2012-12-12 07:41:36 -08:00
Makefile.in Restore AM_MAKEFLAGS in libsanitizer 2012-12-12 07:41:36 -08:00
MERGE libsanitizer merge from upstream r175733 2013-02-21 10:57:10 +00:00
merge.sh Makefile.am (libasan_la_SOURCES): Remove deprecated dynamic/asan_interceptors_dynamic.cc. 2013-02-21 20:12:43 +01:00
README.gcc [libsanitizer] a script to help merging asan/tsan from upstream 2012-11-23 04:09:17 +00:00

AddressSanitizer (http://code.google.com/p/address-sanitizer) and
ThreadSanitizer (http://code.google.com/p/thread-sanitizer/) are
projects initially developed by Google Inc.
Both tools consist of a compiler module and a run-time library.
The sources of the run-time library for these projects are hosted at
http://llvm.org/svn/llvm-project/compiler-rt in the following directories:
  include/sanitizer
  lib/sanitizer_common
  lib/interception
  lib/asan
  lib/tsan

Trivial and urgent fixes (portability, build fixes, etc.) may go directly to the
GCC tree.  All non-trivial changes, functionality improvements, etc. should go
through the upstream tree first and then be merged back to the GCC tree.
The merges from upstream should be done with the aid of the merge.sh script;
it will also update the file MERGE to contain the upstream revision
we merged with.