aboutsummaryrefslogtreecommitdiff
path: root/gcc/sanitizer.def
diff options
context:
space:
mode:
authorMaxim Ostapenko <m.ostapenko@samsung.com>2016-11-08 22:15:35 +0000
committerMaxim Ostapenko <chefmax@gcc.gnu.org>2016-11-09 00:15:35 +0200
commitfbdb92ebffaadd025bf1258c11537d3061cef124 (patch)
tree927936968e461b35aff33774dcb38beec1ee4dc2 /gcc/sanitizer.def
parent8f16b6ca77d55ee47e256070b1efe34f03d08f9a (diff)
downloadgcc-fbdb92ebffaadd025bf1258c11537d3061cef124.zip
gcc-fbdb92ebffaadd025bf1258c11537d3061cef124.tar.gz
gcc-fbdb92ebffaadd025bf1258c11537d3061cef124.tar.bz2
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
Diffstat (limited to 'gcc/sanitizer.def')
-rw-r--r--gcc/sanitizer.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sanitizer.def b/gcc/sanitizer.def
index c11c95a..3db08a7 100644
--- a/gcc/sanitizer.def
+++ b/gcc/sanitizer.def
@@ -34,7 +34,7 @@ DEF_BUILTIN_STUB(BEGIN_SANITIZER_BUILTINS, (const char *)0)
DEF_SANITIZER_BUILTIN(BUILT_IN_ASAN_INIT, "__asan_init",
BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
DEF_SANITIZER_BUILTIN(BUILT_IN_ASAN_VERSION_MISMATCH_CHECK,
- "__asan_version_mismatch_check_v6",
+ "__asan_version_mismatch_check_v8",
BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
/* Do not reorder the BUILT_IN_ASAN_{REPORT,CHECK}* builtins, e.g. cfgcleanup.c
relies on this order. */