mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-18 08:23:50 +08:00
ipa: dump symtab to emergency dump file
gcc/ChangeLog: * passes.c (emergency_dump_function): Dump symtab when we are in an IPA pass.
This commit is contained in:
parent
57cbb7acdb
commit
167ab4b153
@ -1837,6 +1837,9 @@ emergency_dump_function ()
|
||||
fnotice (stderr, "dump file: %s\n", dump_file_name);
|
||||
fprintf (dump_file, "\n\n\nEMERGENCY DUMP:\n\n");
|
||||
execute_function_dump (cfun, current_pass);
|
||||
|
||||
if (symtab && current_pass->type == IPA_PASS)
|
||||
symtab->dump (dump_file);
|
||||
}
|
||||
|
||||
static struct profile_record *profile_record;
|
||||
|
Loading…
Reference in New Issue
Block a user