aboutsummaryrefslogtreecommitdiff
path: root/gcc/asan.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-19 19:48:08 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-19 19:48:08 +0000
commit3a4abd2f6c3c0606dff3ab56505c58abf79dd7e7 (patch)
tree4aead822fa7628b32e485062cd6f948ba09c32ec /gcc/asan.h
parented27099755a9d34005b616231546f5ed017c61b9 (diff)
downloadgcc-3a4abd2f6c3c0606dff3ab56505c58abf79dd7e7.zip
gcc-3a4abd2f6c3c0606dff3ab56505c58abf79dd7e7.tar.gz
gcc-3a4abd2f6c3c0606dff3ab56505c58abf79dd7e7.tar.bz2
asan_emit_stack_protection returns an insn
2014-08-19 David Malcolm <dmalcolm@redhat.com> * asan.h (asan_emit_stack_protection): Strengthen return type from rtx to rtx_insn *. * asan.c (asan_emit_stack_protection): Likewise. Add local "insns" to hold the return value. From-SVN: r214189
Diffstat (limited to 'gcc/asan.h')
-rw-r--r--gcc/asan.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/asan.h b/gcc/asan.h
index 08d5063..198433f 100644
--- a/gcc/asan.h
+++ b/gcc/asan.h
@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. If not see
extern void asan_function_start (void);
extern void asan_finish_file (void);
-extern rtx asan_emit_stack_protection (rtx, rtx, unsigned int, HOST_WIDE_INT *,
- tree *, int);
+extern rtx_insn *asan_emit_stack_protection (rtx, rtx, unsigned int,
+ HOST_WIDE_INT *, tree *, int);
extern bool asan_protect_global (tree);
extern void initialize_sanitizer_builtins (void);
extern tree asan_dynamic_init_call (bool);