1/* Common code for the plugin and lto1. 2 Copyright (C) 2009-2020 Free Software Foundation, Inc. 3 Contributed by Rafael Avila de Espindola (espindola@google.com). 4 5This program is free software; you can redistribute it and/or modify 6it under the terms of the GNU General Public License as published by 7the Free Software Foundation; either version 3 of the License, or 8(at your option) any later version. 9 10This program is distributed in the hope that it will be useful, 11but WITHOUT ANY WARRANTY; without even the implied warranty of 12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13GNU General Public License for more details. 14 15You should have received a copy of the GNU General Public License 16along with this program; if not, write to the Free Software 17Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 1802110-1301, USA. */ 19 20#include "common.h" 21 22const char *lto_kind_str[5] __attribute__ ((visibility ("hidden"))) = 23{ 24 "DEF", "WEAKDEF", "UNDEF", 25 "WEAKUNDEF", "COMMON" 26}; 27 28const char *lto_visibility_str[4] __attribute__ ((visibility ("hidden"))) = 29{ 30 "DEFAULT", "PROTECTED", 31 "INTERNAL", "HIDDEN" 32}; 33 34const char *lto_resolution_str[10] __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 "PREVAILING_DEF_IRONLY_EXP", 46}; 47 48