diff options
author | Marek Polacek <polacek@redhat.com> | 2014-11-04 19:43:01 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-11-04 19:43:01 +0000 |
commit | 06cefae97e37d462c9b06a7a26bb9e230abeaed3 (patch) | |
tree | daa69386bc784dcd19c81e4b97e91b9d1cf756f9 /gcc/asan.h | |
parent | 9c636298c08430ea290b06eb5fd18beb45a83a16 (diff) | |
download | gcc-06cefae97e37d462c9b06a7a26bb9e230abeaed3.tar.gz |
Makefile.in (OBJS): Add sanopt.o.
* Makefile.in (OBJS): Add sanopt.o.
(GTFILES): Add sanopt.c.
* asan.h (asan_expand_check_ifn): Declare.
* asan.c (asan_expand_check_ifn): No longer static.
(class pass_sanopt, pass_sanopt::execute, make_pass_sanopt): Move...
* sanopt.c: ...here. New file.
testsuite/
* c-c++-common/ubsan/align-2.c: Remove dg-output.
* c-c++-common/ubsan/align-4.c: Likewise.
* g++.dg/ubsan/null-1.C: Likewise.
* g++.dg/ubsan/null-2.C: Likewise.
From-SVN: r217099
Diffstat (limited to 'gcc/asan.h')
-rw-r--r-- | gcc/asan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/asan.h b/gcc/asan.h index 8e3f0bae44c..f4483912118 100644 --- a/gcc/asan.h +++ b/gcc/asan.h @@ -28,6 +28,7 @@ extern rtx_insn *asan_emit_stack_protection (rtx, rtx, unsigned int, extern bool asan_protect_global (tree); extern void initialize_sanitizer_builtins (void); extern tree asan_dynamic_init_call (bool); +extern bool asan_expand_check_ifn (gimple_stmt_iterator *, bool); extern gimple_stmt_iterator create_cond_insert_point (gimple_stmt_iterator *, bool, bool, bool, basic_block *, basic_block *); |