tree-chkp.h (chkp_insert_retbnd_call): New.
authorIlya Enkovich <ilya.enkovich@intel.com>
Wed, 8 Apr 2015 10:44:59 +0000 (10:44 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Wed, 8 Apr 2015 10:44:59 +0000 (10:44 +0000)
commit4f5a53cc319d8b88eaff3ee07ac0a89e5782d850
tree3b12f9e0a29bd3d514d93f2c8bdb05d2c21c7962
parent113c69ff2d41091359ec37789974cc47f1169e05
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
gcc/ChangeLog
gcc/cgraphunit.c
gcc/ipa-split.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/thunk-retbnd.c [new file with mode: 0644]
gcc/tree-chkp.c
gcc/tree-chkp.h