projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57cbb7a
)
ipa: dump symtab to emergency dump file
author
Martin Liska
<mliska@suse.cz>
Mon, 30 Nov 2020 14:02:57 +0000
(15:02 +0100)
committer
Martin Liska
<mliska@suse.cz>
Mon, 30 Nov 2020 16:30:34 +0000
(17:30 +0100)
gcc/ChangeLog:
* passes.c (emergency_dump_function): Dump symtab when
we are in an IPA pass.
gcc/passes.c
patch
|
blob
|
history
diff --git
a/gcc/passes.c
b/gcc/passes.c
index f71f63918f4046b976f05f2a3ec0cc9eb8041a7d..973c958f769b567f436a9e5f112bd054cced8dce 100644
(file)
--- a/
gcc/passes.c
+++ b/
gcc/passes.c
@@
-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;