diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-11-12 16:52:09 +0100 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2012-11-12 16:52:09 +0100 |
commit | dfb9e332a5ceefd6770c028d9a937ab869116cba (patch) | |
tree | c34ed654dedeeb0a8cfcdcee8759a1b4a17bad5b /gcc/tree-pass.h | |
parent | f6d984843095c520ceb89cf374c7a13bb6a06a99 (diff) | |
download | gcc-dfb9e332a5ceefd6770c028d9a937ab869116cba.zip gcc-dfb9e332a5ceefd6770c028d9a937ab869116cba.tar.gz gcc-dfb9e332a5ceefd6770c028d9a937ab869116cba.tar.bz2 |
Allow asan at -O0
This patch defines a new asan pass gate that is activated at -O0, in
addition to the pass that was initially activated at -O3 level The
patch also does some comment cleanups here and there.
* asan.c (build_check_stmt): Rename join_bb variable to else_bb.
(gate_asan_O0): New function.
(pass_asan_O0): New variable.
* passes.c (init_optimization_passes): Add pass_asan_O0.
* tree-pass.h (pass_asan_O0): New declaration.
From-SVN: r193435
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 0e61856..929d510 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -260,6 +260,7 @@ struct register_pass_info extern struct gimple_opt_pass pass_mudflap_1; extern struct gimple_opt_pass pass_mudflap_2; extern struct gimple_opt_pass pass_asan; +extern struct gimple_opt_pass pass_asan_O0; extern struct gimple_opt_pass pass_lower_cf; extern struct gimple_opt_pass pass_refactor_eh; extern struct gimple_opt_pass pass_lower_eh; |