compiler: pass a single flags argument to Backend::function
[official-gcc.git] / include / lto-symtab.h
blobe5326a2fedb32e1ba21f1a50521fe95d630ee1d4
1 /* Data types used in the IL symbol table.
2 Copyright (C) 2009-2018 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 #endif /* GCC_LTO_SYMTAB_H */