]> gcc.gnu.org Git - gcc.git/commit
Improve efficiency of copying section from another tree
authorStrager Neds <strager.nds@gmail.com>
Wed, 11 Nov 2020 03:57:04 +0000 (20:57 -0700)
committerJeff Law <law@redhat.com>
Wed, 11 Nov 2020 03:59:01 +0000 (20:59 -0700)
commit4656461585bfd0b925553995a9d114645f1287d0
treef7d27f8f244e4b089232ef01ee4280ac759b737f
parente79de0682e6cb6fe041a22f81cc65375c8c15bff
Improve efficiency of copying section from another tree

gcc/
* cgraph.h (symtab_node::set_section_for_node): Declare new
overload.
(symtab_node::set_section_from_string): Rename from set_section.
(symtab_node::set_section_from_node): Declare.
* symtab.c (symtab_node::set_section_for_node): Define new
overload.
(symtab_node::set_section_from_string): Rename from set_section.
(symtab_node::set_section_from_node): Define.
(symtab_node::set_section): Call renamed set_section_from_string.
(symtab_node::set_section): Call new set_section_from_node.
gcc/cgraph.h
gcc/symtab.c
This page took 0.067163 seconds and 6 git commands to generate.