]> git.ipfire.org Git - thirdparty/gcc.git/blame - include/lto-symtab.h
PR modula2/114929 extra for loop iteration count regression tests
[thirdparty/gcc.git] / include / lto-symtab.h
CommitLineData
d7f09764 1/* Data types used in the IL symbol table.
a945c346 2 Copyright (C) 2009-2024 Free Software Foundation, Inc.
d7f09764
DN
3 Contributed by Rafael Espindola <espindola@google.com>
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify it under
8the terms of the GNU General Public License as published by the Free
9Software Foundation; either version 3, or (at your option) any later
10version.
11
12GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or
14FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15for more details.
16
17You should have received a copy of the GNU General Public License
18along 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
24enum gcc_plugin_symbol_kind
25 {
26 GCCPK_DEF,
27 GCCPK_WEAKDEF,
28 GCCPK_UNDEF,
29 GCCPK_WEAKUNDEF,
30 GCCPK_COMMON
31 };
32
33enum gcc_plugin_symbol_visibility
34 {
35 GCCPV_DEFAULT,
36 GCCPV_PROTECTED,
37 GCCPV_INTERNAL,
38 GCCPV_HIDDEN
39 };
40
c8429c2a
ML
41enum gcc_plugin_symbol_type
42{
43 GCCST_UNKNOWN,
44 GCCST_FUNCTION,
15711e83 45 GCCST_VARIABLE
c8429c2a
ML
46};
47
48enum gcc_plugin_symbol_section_kind
49{
50 GCCSSK_DEFAULT,
51 GCCSSK_BSS
52};
53
d7f09764 54#endif /* GCC_LTO_SYMTAB_H */