comparison gcc/testsuite/c-c++-common/asan/shadow-offset-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile } */
2 /* { dg-options "-fno-sanitize=address -fsanitize=kernel-address --param asan-instrumentation-with-call-threshold=100 -fasan-shadow-offset=12345 -fdump-tree-sanopt" } */
3 /* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */
4
5 int f (int *p)
6 {
7 return *p;
8 }
9
10 /* { dg-final { scan-tree-dump "12345" "sanopt" } } */