PR82045: Avoid passing machine modes through "..."
[official-gcc.git] / gcc / lto / common.c
blob7d031fc5a13370e1955517aa301f8c66f4f071b5
1 /* Common code for the plugin and lto1.
2 Copyright (C) 2009-2017 Free Software Foundation, Inc.
3 Contributed by Rafael Avila de Espindola (espindola@google.com).
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.
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.
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. */
20 #include "common.h"
22 const char *lto_kind_str[5] __attribute__ ((visibility ("hidden"))) =
24 "DEF", "WEAKDEF", "UNDEF",
25 "WEAKUNDEF", "COMMON"
28 const char *lto_visibility_str[4] __attribute__ ((visibility ("hidden"))) =
30 "DEFAULT", "PROTECTED",
31 "INTERNAL", "HIDDEN"
34 const char *lto_resolution_str[10] __attribute__ ((visibility ("hidden"))) =
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 "PREVAILING_DEF_IRONLY_EXP",