ipa-chkp.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /* Declaration of interface functions of Pointer Bounds Checker.
  2. Copyright (C) 2014-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifndef GCC_IPA_CHKP_H
  16. #define GCC_IPA_CHKP_H
  17. extern tree chkp_copy_function_type_adding_bounds (tree orig_type);
  18. extern tree chkp_maybe_clone_builtin_fndecl (tree fndecl);
  19. extern cgraph_node *chkp_maybe_create_clone (tree fndecl);
  20. extern bool chkp_instrumentable_p (tree fndecl);
  21. extern bool chkp_wrap_function (tree fndecl);
  22. #endif /* GCC_IPA_CHKP_H */