Fix new sancov tests
* gcc.dg/sancov/sancov.exp: Load asan-dg.exp. * gcc.dg/sancov/asan.c: Don't run when asan is not available. From-SVN: r231364
This commit is contained in:
parent
fc0efeeab3
commit
f3d6b759e1
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-12-06 Dmitry Vyukov <dvyukov@google.com>
|
||||
|
||||
* gcc.dg/sancov/sancov.exp: Load asan-dg.exp.
|
||||
* gcc.dg/sancov/asan.c: Don't run when asan is not available.
|
||||
|
||||
2015-12-07 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* gcc.target/nvptx/decl-init.c: New.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- coverage does not instrument asan-emitted basic blocks
|
||||
- asan considers coverage callback as "nonfreeing" (thus 1 asan store
|
||||
callback. */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-do compile { target fsanitize_address } } */
|
||||
/* { dg-options "-fsanitize-coverage=trace-pc -fsanitize=address -fdump-tree-optimized" } */
|
||||
|
||||
void foo(volatile int *a, int *b)
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
# <http://www.gnu.org/licenses/>.
|
||||
|
||||
load_lib gcc-dg.exp
|
||||
load_lib asan-dg.exp
|
||||
load_lib torture-options.exp
|
||||
|
||||
dg-init
|
||||
|
|
Loading…
Add table
Reference in a new issue