gcc/libsanitizer
Andreas Tobler d730fd95ee gcc: Enable bits for sanitizer support on FreeBSD x86_64
This patch add the necessary bits to suport libasan on FreeBSD x86_64.

gcc
	* config/i386/i386.h: Define a new macro: SUBTARGET_SHADOW_OFFSET.
	* config/i386/i386.c (ix86_asan_shadow_offset): Use this macro.
	* config/i386/darwin.h: Override the SUBTARGET_SHADOW_OFFSET macro.
	* config/i386/freebsd.h: Likewise.
	* config/freebsd.h (LIBASAN_EARLY_SPEC): Define.
	LIBTSAN_EARLY_SPEC): Likewise. (LIBLSAN_EARLY_SPEC): Likewise.

libsanitizer:

	* configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
2020-05-01 17:18:47 +02:00
..
asan Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
builtins
include Libsanitizer: merge from trunk 2019-11-07 09:33:54 +00:00
interception Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
libbacktrace Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
lsan Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
sanitizer_common libsanitizer: Add missing file and regen Makefile.in 2020-05-01 16:24:37 +02:00
tsan Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
ubsan Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
acinclude.m4
aclocal.m4 Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
ChangeLog gcc: Enable bits for sanitizer support on FreeBSD x86_64 2020-05-01 17:18:47 +02:00
config.h.in
configure Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
configure.ac Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
configure.tgt gcc: Enable bits for sanitizer support on FreeBSD x86_64 2020-05-01 17:18:47 +02:00
HOWTO_MERGE
libsanitizer.spec.in
LICENSE.TXT
LOCAL_PATCHES Update LOCAL_PATCHES. 2019-11-07 09:34:42 +00:00
Makefile.am
Makefile.in Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
MERGE Libsanitizer: merge from trunk 2019-11-07 09:33:54 +00:00
merge.sh Libsanitizer: merge from trunk 2019-11-07 09:33:54 +00:00
README.gcc

AddressSanitizer and ThreadSanitizer (https://github.com/google/sanitizers) 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
https://llvm.org/svn/llvm-project/compiler-rt in the following directories:
  include/sanitizer
  lib/sanitizer_common
  lib/interception
  lib/asan
  lib/tsan
  lib/lsan
  lib/ubsan

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.