On Mon, Aug 22, 2022 at 9:45 AM Nick Desaulniers <ndesaulniers@xxxxxxxxxx> wrote: > > > So it seems like a reasonable choice to provide a debug info > > level config that would explicitly set the level without relying on > > implicits. The default value of the config is set to -g2 to not change > > the build behavior that was before introducing the option. And it > > works for both older and newer versions of GCC/Clang in the same way. > > The benefits of the -g1 option are indeed questionable except that it > > produces an image with ~20% less in size. > > Until there's a concrete need, YAGNI. Or add -g1 to CONFIG_DEBUG_INFO_REDUCED. -- Thanks, ~Nick Desaulniers