OSDN Git Service

* cgraphbuild.c (record_reference_ctx): Add varpool_node.
[pf3gnuchains/gcc-fork.git] / gcc / lto / common.c
1 /* Common code for the plugin and lto1.
2    Copyright (C) 2009 Free Software Foundation, Inc.
3    Contributed by Rafael Avila de Espindola (espindola@google.com).
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
18 02110-1301, USA.  */
19
20 #include "common.h"
21
22 const char *lto_kind_str[5] __attribute__ ((visibility ("hidden"))) =
23 {
24   "DEF", "WEAKDEF", "UNDEF",
25   "WEAKUNDEF", "COMMON"
26 };
27
28 const char *lto_visibility_str[4] __attribute__ ((visibility ("hidden"))) =
29 {
30   "DEFAULT", "PROTECTED",
31  "INTERNAL", "HIDDEN"
32 };
33
34 const char *lto_resolution_str[9] __attribute__ ((visibility ("hidden"))) =
35 {
36   "UNKNOWN",
37   "UNDEF",
38   "PREVAILING_DEF",
39   "PREVAILING_DEF_IRONLY",
40   "PREEMPTED_REG",
41   "PREEMPTED_IR",
42   "RESOLVED_IR",
43   "RESOLVED_EXEC",
44   "RESOLVED_DYN"
45 };
46