diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-11-12 15:52:09 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@redhat.com> | 2012-11-12 15:52:09 +0000 |
commit | bdd9c17ade0a335a6589463244532a485b335ab4 (patch) | |
tree | c34ed654dedeeb0a8cfcdcee8759a1b4a17bad5b /gcc/tree-pass.h | |
parent | 5de6b8caa99c8cd09e9218a330f040da89833994 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193435 138bc75d-0d04-0410-961f-82ee72b054a4
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 0e618569e65..929d5100249 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; |