summaryrefslogtreecommitdiff
path: root/gcc/asan.h
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-19 19:48:08 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-19 19:48:08 +0000
commit67ab16d93fdddc9c92f6a6073d083da90c54a63d (patch)
tree4aead822fa7628b32e485062cd6f948ba09c32ec /gcc/asan.h
parent61f9f45103b0f494efa877db0e9528bee4c8a42b (diff)
downloadgcc-67ab16d93fdddc9c92f6a6073d083da90c54a63d.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214189 138bc75d-0d04-0410-961f-82ee72b054a4
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 08d5063c9e1..198433f3992 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);