diff options
author | Ilya Enkovich <ilya.enkovich@intel.com> | 2015-05-15 09:48:13 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2015-05-15 09:48:13 +0000 |
commit | 2662516181b774ace565b4672cfe3cd32728cd7c (patch) | |
tree | d72c875913b9711c25ff4f0e8c52dae658108ccc /gcc/ipa-chkp.h | |
parent | 2c1f37b57aa599b80d3be5feb8be12db1f6441c6 (diff) | |
download | gcc-2662516181b774ace565b4672cfe3cd32728cd7c.zip gcc-2662516181b774ace565b4672cfe3cd32728cd7c.tar.gz gcc-2662516181b774ace565b4672cfe3cd32728cd7c.tar.bz2 |
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
Diffstat (limited to 'gcc/ipa-chkp.h')
-rw-r--r-- | gcc/ipa-chkp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-chkp.h b/gcc/ipa-chkp.h index 6708fe9..547487e 100644 --- a/gcc/ipa-chkp.h +++ b/gcc/ipa-chkp.h @@ -24,5 +24,6 @@ extern tree chkp_copy_function_type_adding_bounds (tree orig_type); extern tree chkp_maybe_clone_builtin_fndecl (tree fndecl); extern cgraph_node *chkp_maybe_create_clone (tree fndecl); extern bool chkp_instrumentable_p (tree fndecl); +extern bool chkp_wrap_function (tree fndecl); #endif /* GCC_IPA_CHKP_H */ |