Re: [PATCH] Fix collection and processing of autoprofile data for target libs

2023-06-27 Thread Richard Biener via Gcc-patches
On Tue, Jun 27, 2023 at 11:31 PM Eugene Rozenfeld via Gcc-patches wrote: > > cc1, cc1plus, and lto built during STAGEautoprofile need to be built with > debug info since they are used to build target libs. -gtoggle was > turning off debug info for this stage. > > create_gcov should be passed prev-

[PATCH] Fix collection and processing of autoprofile data for target libs

2023-06-27 Thread Eugene Rozenfeld via Gcc-patches
cc1, cc1plus, and lto built during STAGEautoprofile need to be built with debug info since they are used to build target libs. -gtoggle was turning off debug info for this stage. create_gcov should be passed prev-gcc/cc1, prev-gcc/cc1plus, and prev-gcc/lto instead of stage1-gcc/cc1, stage1-gcc/cc1