gcc: xtensa: enable address sanitizer
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 5 Dec 2017 14:17:35 +0000 (14:17 +0000)
committerMax Filippov <jcmvbkbc@gcc.gnu.org>
Tue, 5 Dec 2017 14:17:35 +0000 (14:17 +0000)
commit8c9ee176a61d7591e666700e41af2aadb60b8f6a
tree53a784a6fc435c9508d843f0ffc75296987e80c0
parentac550b9a0e827dc155c2d38b24c527f47be191dc
gcc: xtensa: enable address sanitizer

gcc/
2017-12-05  Max Filippov  <jcmvbkbc@gmail.com>

* config/xtensa/xtensa.c (xtensa_asan_shadow_offset): New
function.
(TARGET_ASAN_SHADOW_OFFSET): New macro definition.
* config/xtensa/xtensa.h (FRAME_GROWS_DOWNWARD): Set to 1 if
ASAN is enabled.

From-SVN: r255420
gcc/ChangeLog
gcc/config/xtensa/xtensa.c
gcc/config/xtensa/xtensa.h