GCC Middle and Back End API Reference
|
Go to the source code of this file.
Functions | |
struct pex_obj * | collect_execute (const char *, char **, const char *, const char *, int flags) |
int | collect_wait (const char *, struct pex_obj *) |
int | file_exists (const char *) |
void | notice_translated (const char *,...) ATTRIBUTE_PRINTF_1 |
void | notice (const char *,...) ATTRIBUTE_PRINTF_1 |
Variables | |
const char * | c_file_name |
struct obstack | temporary_obstack |
char * | temporary_firstobj |
bool | may_unlink_output_file |
bool | at_file_supplied |
|
extern |
Header file for collect routines. Copyright (C) 1998-2025 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
References at_file_supplied, c_file_name, may_unlink_output_file, notice(), obstack, temporary_firstobj, and temporary_obstack.
|
extern |
Wait for a process to finish, and exit if a nonzero status is found.
References fatal_error(), input_location, NULL, response_file, strsignal(), WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSIGNALED, and WTERMSIG.
|
extern |
References R_OK.
Referenced by maybe_unlink(), and ltrans_file_cache::prune().
|
extern |
Notify user of a non-error.
Utility functions used by tools like collect2 and lto-wrapper. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Provided in collect-utils.cc.
References _, ap, and vfprintf().
Referenced by collect_execute(), collect_execute(), main(), maybe_unlink(), and write_c_file_stat().
|
extern |
Notify user of a non-error, without translating the format string.
References ap, and vfprintf().
Referenced by main().
|
extern |
Referenced by collect_execute(), do_link(), do_spec_1(), driver::expand_at_files(), driver::finalize(), main(), and maybe_run_lto_and_relink().
|
extern |
Referenced by collect_execute(), and main().
|
extern |
Whether we may unlink the output file, which should be set as soon as we know we have successfully produced it. This is typically useful to prevent blindly attempting to unlink a read-only output that the target linker would leave untouched.
Referenced by collect_execute(), do_link(), and maybe_unlink().
|
extern |
Referenced by collect_execute(), main(), and maybe_run_lto_and_relink().
|
extern |
Referenced by collect_execute(), extract_string(), lto_write_options(), main(), maybe_run_lto_and_relink(), and run_gcc().