ipa-chkp.h (chkp_wrap_function): New.
authorIlya Enkovich <ilya.enkovich@intel.com>
Fri, 15 May 2015 09:48:13 +0000 (09:48 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 15 May 2015 09:48:13 +0000 (09:48 +0000)
commit2662516181b774ace565b4672cfe3cd32728cd7c
treed72c875913b9711c25ff4f0e8c52dae658108ccc
parent2c1f37b57aa599b80d3be5feb8be12db1f6441c6
ipa-chkp.h (chkp_wrap_function): New.

gcc/

* ipa-chkp.h (chkp_wrap_function): New.
* ipa-chkp.c (chkp_wrap_function): Remove 'static'.
(chkp_wrap_function_name): New.
(chkp_build_instrumented_fndecl): Use chkp_wrap_function_name
to get wrapper name.
* lto-cgraph.c: Include ipa-chkp.h.
(input_cgraph_1): Avoid alias chain for wrappers.

gcc/testsuite/

* gcc.dg/lto/chkp-wrap-asm-name_0.c: New.

From-SVN: r223216
gcc/ChangeLog
gcc/ipa-chkp.c
gcc/ipa-chkp.h
gcc/lto-cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/chkp-wrap-asm-name_0.c [new file with mode: 0644]