1 | /* Default common target hook functions. |
2 | Copyright (C) 2003-2024 Free Software Foundation, Inc. |
3 | |
4 | This file is part of GCC. |
5 | |
6 | GCC is free software; you can redistribute it and/or modify it under |
7 | the terms of the GNU General Public License as published by the Free |
8 | Software Foundation; either version 3, or (at your option) any later |
9 | version. |
10 | |
11 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
12 | WARRANTY; without even the implied warranty of MERCHANTABILITY or |
13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
14 | for more details. |
15 | |
16 | You should have received a copy of the GNU General Public License |
17 | along with GCC; see the file COPYING3. If not see |
18 | <http://www.gnu.org/licenses/>. */ |
19 | |
20 | #ifndef GCC_COMMON_TARGHOOKS_H |
21 | #define GCC_COMMON_TARGHOOKS_H |
22 | |
23 | extern enum unwind_info_type default_except_unwind_info (struct gcc_options *); |
24 | extern enum unwind_info_type dwarf2_except_unwind_info (struct gcc_options *); |
25 | extern enum unwind_info_type sjlj_except_unwind_info (struct gcc_options *); |
26 | |
27 | extern bool default_target_handle_option (struct gcc_options *, |
28 | struct gcc_options *, |
29 | const struct cl_decoded_option *, |
30 | location_t); |
31 | extern vec<const char *> default_get_valid_option_values (int, const char *); |
32 | |
33 | extern const struct default_options empty_optimization_table[]; |
34 | |
35 | const char * |
36 | default_compute_multilib( |
37 | const struct switchstr *, |
38 | int, |
39 | const char *multilib, |
40 | const char *, |
41 | const char *, |
42 | const char *, |
43 | const char *, |
44 | const char *); |
45 | |
46 | #endif |
47 | |