
Go to the source code of this file.
Functions/Subroutines | |
| void | dump_argv (string *) |
| int | do_compile (string *) |
| void | ld_kill_compilation (int) |
| void | add_to_tmp_file_list (string) |
| void | cleanup_all_files (void) |
| string | make_temp_file (string, char) |
| int | create_tmpdir (int tracing) |
| string | create_unique_file (string, char) |
| string | create_tmp_file (string) |
| string * | get_command_line (an_object_file_ptr, string, string, int *) |
| int | make_link (const string, const string) |
| string | ld_compile (an_object_file_ptr) |
| char * | always_demangle (char *, char) |
Variables | |
| string | tmpdir |
| char * | __Release_ID |
Definition at line 283 of file ipa_ld.c.
References DEFAULT_TMP_LIST_SIZE, MALLOC, MALLOC_ASSERT, REALLOC, tmp_list_max, and tmp_list_size.
Referenced by create_tmpdir(), IP_write_global_symtab(), ipa_compile_init(), ipacom_process_file(), ipacom_process_symtab(), ld_compile(), output_queue::open_output_file(), and Perform_Alias_Class_Annotation().
Definition at line 326 of file ipa_ld.c.
References i, LD_IPA_KEEP_TEMPS, RMDIR, tmp_list_size, and UNLINK.
| int create_tmpdir | ( | int | tracing | ) |
Definition at line 414 of file ipa_ld.c.
References add_to_tmp_file_list(), closedir(), concat_names(), direct::d_name, DEFAULT_TMPDIR, DIR, errno, filename, ld_ipa_option::flag, FREE, getenv(), is_ipa, LD_IPA_KEEP_TEMPS, MKDIR, mktemp, opendir(), perror(), prefix, readdir(), strlen(), strrchr(), umask(), and unlink.
Referenced by ipa_driver(), and ld_compile().
Definition at line 498 of file ipa_ld.c.
References base, basename, CLOSE, cmask, creat, exit(), fd, FREE, make_temp_file(), MALLOC, MALLOC_ASSERT, p, perror(), strcat(), strcpy, strlen(), and tmpdir_length.
Referenced by IP_global_symtab_name(), ipa_compile_init(), ipacom_doit(), ipacom_process_file(), ipacom_process_symtab(), ld_compile(), and output_queue::open_output_file().
| int do_compile | ( | string * | ) |
Definition at line 219 of file ipa_ld.c.
References active_pid, basename, concat_names(), DEFAULT_TOOLROOT, dump_argv(), environ_vars, execve, exit(), fork, FREE, getenv(), ipa_copy_of(), LD_IPA_SHOW, LD_IPA_VERBOSE, perror(), and pid.
Referenced by ld_compile(), and toplev_main().
| string* get_command_line | ( | an_object_file_ptr | , | |
| string | , | |||
| string | , | |||
| int * | ||||
| ) |
| string ld_compile | ( | an_object_file_ptr | ) |
| void ld_kill_compilation | ( | int | ) |
| int make_link | ( | const | string, | |
| const | string | |||
| ) |
Definition at line 350 of file ipa_ld.c.
References access, c, count, d, exit(), F_OK, fprintf(), ipa_copy_of(), len, n, path, PATH_MAX, s, sprintf(), strcpy, and strlen().
Referenced by create_unique_file(), do_spec_1(), lang_specific_driver(), main(), and temp_file().
| char* __Release_ID |
1.5.6