diff options
author | Ilya Enkovich <ilya.enkovich@intel.com> | 2015-04-08 10:44:59 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2015-04-08 10:44:59 +0000 |
commit | 4f5a53cc319d8b88eaff3ee07ac0a89e5782d850 (patch) | |
tree | 3b12f9e0a29bd3d514d93f2c8bdb05d2c21c7962 /gcc/tree-chkp.h | |
parent | 113c69ff2d41091359ec37789974cc47f1169e05 (diff) | |
download | gcc-4f5a53cc319d8b88eaff3ee07ac0a89e5782d850.zip gcc-4f5a53cc319d8b88eaff3ee07ac0a89e5782d850.tar.gz gcc-4f5a53cc319d8b88eaff3ee07ac0a89e5782d850.tar.bz2 |
tree-chkp.h (chkp_insert_retbnd_call): New.
gcc/
* tree-chkp.h (chkp_insert_retbnd_call): New.
* tree-chkp.c (chkp_insert_retbnd_call): New.
* ipa-split.c (insert_bndret_call_after): Remove.
(split_function): Use chkp_insert_retbnd_call.
* cgraphunit.c (cgraph_node::expand_thunk): Build returned
bounds for instrumented functions.
gcc/testsuite/
* gcc/testsuite/gcc.target/i386/thunk-retbnd.c: New.
From-SVN: r221917
Diffstat (limited to 'gcc/tree-chkp.h')
-rw-r--r-- | gcc/tree-chkp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-chkp.h b/gcc/tree-chkp.h index 86f3618..1bafe99 100644 --- a/gcc/tree-chkp.h +++ b/gcc/tree-chkp.h @@ -54,5 +54,7 @@ extern void chkp_copy_bounds_for_assign (gimple assign, extern bool chkp_gimple_call_builtin_p (gimple call, enum built_in_function code); extern void chkp_expand_bounds_reset_for_mem (tree mem, tree ptr); +extern tree chkp_insert_retbnd_call (tree bndval, tree retval, + gimple_stmt_iterator *gsi); #endif /* GCC_TREE_CHKP_H */ |