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