gcc: xtensa: enable address sanitizer

Programming / Compilers / GCC - jcmvbkbc [138bc75d-0d04-0410-961f-82ee72b054a4] - 5 December 2017 14:17 EST

gcc/ 2017-12-05 Max Filippov

- 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.

514857543a5 gcc: xtensa: enable address sanitizer
gcc/ChangeLog | 8 ++++++++
gcc/config/xtensa/xtensa.c | 12 ++++++++++++
gcc/config/xtensa/xtensa.h | 3 ++-
3 files changed, 22 insertions(+), 1 deletion(-)

Upstream: gcc.gnu.org


  • Share