]> gcc.gnu.org Git - gcc.git/commit
gcc: Enable bits for sanitizer support on FreeBSD x86_64
authorAndreas Tobler <andreast@gcc.gnu.org>
Fri, 1 May 2020 07:04:01 +0000 (09:04 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Fri, 1 May 2020 15:18:47 +0000 (17:18 +0200)
commitd730fd95eebaecad8e26f9e089c7df4630e94f1c
tree8cf46989a075ad91f0be9d2eb137882a5c3a9d0a
parentbf1dde9790d304188b10228c24a448fa454ed7b0
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.
gcc/ChangeLog
gcc/config/freebsd.h
gcc/config/i386/darwin.h
gcc/config/i386/freebsd.h
gcc/config/i386/i386.c
gcc/config/i386/i386.h
libsanitizer/ChangeLog
libsanitizer/configure.tgt
This page took 0.058686 seconds and 5 git commands to generate.