lto-symtab.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* Data types used in the IL symbol table.
  2. Copyright (C) 2009-2022 Free Software Foundation, Inc.
  3. Contributed by Rafael Espindola <espindola@google.com>
  4. This file is part of GCC.
  5. GCC is free software; you can redistribute it and/or modify it under
  6. the terms of the GNU General Public License as published by the Free
  7. Software Foundation; either version 3, or (at your option) any later
  8. version.
  9. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with GCC; see the file COPYING3. If not see
  15. <http://www.gnu.org/licenses/>. */
  16. #ifndef GCC_LTO_SYMTAB_H
  17. #define GCC_LTO_SYMTAB_H
  18. enum gcc_plugin_symbol_kind
  19. {
  20. GCCPK_DEF,
  21. GCCPK_WEAKDEF,
  22. GCCPK_UNDEF,
  23. GCCPK_WEAKUNDEF,
  24. GCCPK_COMMON
  25. };
  26. enum gcc_plugin_symbol_visibility
  27. {
  28. GCCPV_DEFAULT,
  29. GCCPV_PROTECTED,
  30. GCCPV_INTERNAL,
  31. GCCPV_HIDDEN
  32. };
  33. enum gcc_plugin_symbol_type
  34. {
  35. GCCST_UNKNOWN,
  36. GCCST_FUNCTION,
  37. GCCST_VARIABLE
  38. };
  39. enum gcc_plugin_symbol_section_kind
  40. {
  41. GCCSSK_DEFAULT,
  42. GCCSSK_BSS
  43. };
  44. #endif /* GCC_LTO_SYMTAB_H */