asan.h (ASAN_STACK_MAGIC_PARTIAL): Remove.
authorMaxim Ostapenko <m.ostapenko@samsung.com>
Tue, 8 Nov 2016 22:15:35 +0000 (22:15 +0000)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Tue, 8 Nov 2016 22:15:35 +0000 (00:15 +0200)
commitfbdb92ebffaadd025bf1258c11537d3061cef124
tree927936968e461b35aff33774dcb38beec1ee4dc2
parent8f16b6ca77d55ee47e256070b1efe34f03d08f9a
asan.h (ASAN_STACK_MAGIC_PARTIAL): Remove.

gcc/

* asan.h (ASAN_STACK_MAGIC_PARTIAL): Remove.
* asan.c (ASAN_STACK_MAGIC_PARTIAL): Replace with
ASAN_STACK_MAGIC_MIDDLE.
(asan_global_struct): Increase the size of fields.
(asan_add_global): Add new field constructor.
* sanitizer.def (__asan_version_mismatch_check_v6): Replace with
__asan_version_mismatch_check_v8.

gcc/testsuite/

* c-c++-common/asan/null-deref-1.c: Adjust testcase.

From-SVN: r241983
gcc/ChangeLog
gcc/asan.c
gcc/asan.h
gcc/sanitizer.def
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/asan/null-deref-1.c