diff options
author | Andreas Tobler <andreast@gcc.gnu.org> | 2020-05-01 09:04:01 +0200 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2020-05-01 17:18:47 +0200 |
commit | d730fd95eebaecad8e26f9e089c7df4630e94f1c (patch) | |
tree | 8cf46989a075ad91f0be9d2eb137882a5c3a9d0a /libatomic | |
parent | bf1dde9790d304188b10228c24a448fa454ed7b0 (diff) | |
download | gcc-d730fd95eebaecad8e26f9e089c7df4630e94f1c.tar.gz |
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.
Diffstat (limited to 'libatomic')
0 files changed, 0 insertions, 0 deletions