]> gcc.gnu.org Git - gcc.git/commit
Fix thunk info WRT PCH
authorJan Hubicka <jh@suse.cz>
Fri, 30 Oct 2020 13:30:43 +0000 (14:30 +0100)
committerJan Hubicka <jh@suse.cz>
Fri, 30 Oct 2020 13:30:43 +0000 (14:30 +0100)
commitaa701610e51ca9e15573ba080cb93ef726252cfc
treedf843230a64856ebefdf8d5a021f3ee7d11851b5
parent40cb3f8ac875c6cf6610a5f93da571cfdd2a1513
Fix thunk info WRT PCH

PR pch/97593
* cgraph.c (cgraph_node::create_thunk): Register thunk as early during
parsing.
* cgraphunit.c (analyze_functions): Call
thunk_info::process_early_thunks.
* symtab-thunks.cc (struct unprocessed_thunk): New struct.
(thunks): New static variable.
(thunk_info::register_early): New member function.
(thunk_info::process_early_thunks): New member function.
* symtab-thunks.h (thunk_info::register_early): Declare.
(thunk_info::process_early_thunks): Declare.
gcc/cgraph.c
gcc/cgraphunit.c
gcc/symtab-thunks.cc
gcc/symtab-thunks.h
This page took 0.063996 seconds and 6 git commands to generate.