GCC Middle and Back End API Reference
|
Enumerations | |
enum | lto_mode_d { LTO_MODE_NONE, LTO_MODE_LTO, LTO_MODE_WHOPR, LTO_MODE_NONE, LTO_MODE_LTO, LTO_MODE_WHOPR } |
Functions | |
static void | maybe_unlink_file (const char *) |
static void | lto_wrapper_cleanup () |
static void | fatal_signal () |
static void | __attribute__ ((format(printf, 1, 2))) |
static struct pex_obj * | collect_execute () |
static int | collect_wait () |
static void | maybe_unlink_file () |
static void | fork_execute () |
static void | get_options_from_collect_gcc_options (const char *collect_gcc, const char *collect_gcc_options, unsigned int lang_mask, struct cl_decoded_option **decoded_options, unsigned int *decoded_options_count) |
static void | append_option (struct cl_decoded_option **decoded_options, unsigned int *decoded_options_count, struct cl_decoded_option *option) |
static void | merge_and_complain (struct cl_decoded_option **decoded_options, unsigned int *decoded_options_count, struct cl_decoded_option *fdecoded_options, unsigned int fdecoded_options_count) |
static void | run_gcc () |
int | main () |
Variables | |
int | debug |
int | verbose |
static enum lto_mode_d | lto_mode = LTO_MODE_NONE |
static char * | ltrans_output_file |
static char * | flto_out |
static char * | args_name |
static unsigned int | nr |
static char ** | input_names |
static char ** | output_names |
static char * | makefile |
enum lto_mode_d |
|
static |
Just die. CMSGID is the error message.
Die when sys call fails. CMSGID is the error message.
References lto_wrapper_cleanup().
|
static |
Append OPTION to the options array DECODED_OPTIONS with size DECODED_OPTIONS_COUNT.
References memcpy().
Referenced by merge_and_complain().
|
staticread |
|
static |
Wait for a process to finish, and exit if a nonzero status is found. PROG is the program name. PEX is the process we should wait for.
References fatal(), and strsignal().
|
static |
References lto_wrapper_cleanup().
Referenced by main().
|
static |
Execute program ARGV[0] with arguments ARGV. Wait for it to finish.
References args_name, collect_execute(), collect_wait(), fatal(), free(), and maybe_unlink_file().
Referenced by run_gcc().
|
static |
Create decoded options from the COLLECT_GCC and COLLECT_GCC_OPTIONS environment according to LANG_MASK.
References decode_cmdline_options_to_array(), fatal(), and obstack.
Referenced by run_gcc().
|
static |
References args_name, flto_out, input_names, ltrans_output_file, makefile, maybe_unlink_file(), nr, and output_names.
Referenced by __attribute__(), and fatal_signal().
int main | ( | ) |
Entry point.
References diagnostic_initialize(), fatal_signal(), gcc_init_libintl(), global_dc, opts_obstack, progname, run_gcc(), and strlen().
|
static |
Referenced by fork_execute(), lto_wrapper_cleanup(), and run_gcc().
|
static |
|
static |
Try to merge and complain about options FDECODED_OPTIONS when applied ontop of DECODED_OPTIONS.
References append_option(), cl_options, fatal(), cl_option::flags, cl_decoded_option::opt_index, and cl_decoded_option::orig_option_with_args_text.
Referenced by run_gcc().
|
static |
Execute gcc. ARGC is the number of arguments. ARGV contains the arguments.
References cl_decoded_option::arg, cl_decoded_option::canonical_option, cl_decoded_option::canonical_option_num_elements, cl_options, collect_execute(), collect_wait(), debug, fatal(), cl_option::flags, flto_out, fork_execute(), free(), get_options_from_collect_gcc_options(), getenv(), input_names, len, lto_mode, LTO_MODE_LTO, LTO_MODE_WHOPR, ltrans_output_file, makefile, maybe_unlink_file(), memcpy(), merge_and_complain(), nr, obstack, offset, cl_decoded_option::opt_index, option(), output_names, snprintf(), strlen(), and verbose.
Referenced by main().
|
static |
Referenced by fork_execute(), and lto_wrapper_cleanup().
int debug |
End of lto-streamer.h copy.
|
static |
Referenced by lto_wrapper_cleanup(), and run_gcc().
|
static |
Referenced by lto_wrapper_cleanup(), and run_gcc().
|
static |
Current LTO mode.
Referenced by run_gcc().
|
static |
Referenced by lto_wrapper_cleanup(), and run_gcc().
|
static |
Referenced by lto_wrapper_cleanup(), and run_gcc().
|
static |
Referenced by add_range_and_copies_from_move_list(), allocate_reload_reg(), assign_spill_hard_regs(), choose_reload_regs(), emit_reload_insns(), fast_allocation(), find_reloads(), forget_old_reloads_1(), ira_build(), ira_reassign_pseudos(), lower_eh_constructs_2(), lto_wrapper_cleanup(), record_reg_classes(), run_gcc(), setup_slot_coalesced_allocno_live_ranges(), and slot_coalesced_allocno_live_ranges_intersect_p().
|
static |
Referenced by lto_wrapper_cleanup(), and run_gcc().
int verbose |
Referenced by collect_execute(), print_exp(), and run_gcc().