mips.c (mips_asan_shadow_offset): New function.
authorHans-Peter Nilsson <hp@axis.com>
Thu, 26 Apr 2018 01:21:32 +0000 (01:21 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 26 Apr 2018 01:21:32 +0000 (01:21 +0000)
commite92306590ef0c4e51a0fc0053469a28ed60b1c1c
tree3cb454fc989809387d794448cfc811acbac5b736
parent752361c980da04bd5a386d09af4388dac993c9b7
mips.c (mips_asan_shadow_offset): New function.

* config/mips/mips.c (mips_asan_shadow_offset): New function.
(TARGET_ASAN_SHADOW_OFFSET): Define.
* config/mips/mips.h (FRAME_GROWS_DOWNWARD): Augment to also be
true for -fsanitize=address.

Co-Authored-By: Jean Lee <xiaoyur347@gmail.com>
From-SVN: r259666
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h