Daily bump.
[official-gcc.git] / include / lto-symtab.h
blob9797e8e1790a850756c5c6c11e34f25747c21979
1 /* Data types used in the IL symbol table.
2 Copyright (C) 2009-2021 Free Software Foundation, Inc.
3 Contributed by Rafael Espindola <espindola@google.com>
5 This file is part of GCC.
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.
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.
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/>. */
21 #ifndef GCC_LTO_SYMTAB_H
22 #define GCC_LTO_SYMTAB_H
24 enum gcc_plugin_symbol_kind
26 GCCPK_DEF,
27 GCCPK_WEAKDEF,
28 GCCPK_UNDEF,
29 GCCPK_WEAKUNDEF,
30 GCCPK_COMMON
33 enum gcc_plugin_symbol_visibility
35 GCCPV_DEFAULT,
36 GCCPV_PROTECTED,
37 GCCPV_INTERNAL,
38 GCCPV_HIDDEN
41 enum gcc_plugin_symbol_type
43 GCCST_UNKNOWN,
44 GCCST_FUNCTION,
45 GCCST_VARIABLE
48 enum gcc_plugin_symbol_section_kind
50 GCCSSK_DEFAULT,
51 GCCSSK_BSS
54 #endif /* GCC_LTO_SYMTAB_H */