Re: [PATCH 02/14] lto: Keep lto file data

2025-09-04 Thread Jan Hubicka
> We use lto_file_data in 1to1 partitioning, so we need to not zero it > out. Nothing depends on lto_file_data being NULL. > > gcc/ChangeLog: > > * cgraph.cc (cgraph_node::release_body): Keep lto_file_data. > (cgraph_node::remove): likewise. > * lto-section-in.cc (lto_free_funct

[PATCH 02/14] lto: Keep lto file data

2025-08-27 Thread Michal Jires
We use lto_file_data in 1to1 partitioning, so we need to not zero it out. Nothing depends on lto_file_data being NULL. gcc/ChangeLog: * cgraph.cc (cgraph_node::release_body): Keep lto_file_data. (cgraph_node::remove): likewise. * lto-section-in.cc (lto_free_function_in_dec