Messages in this thread | | | From | Nick Desaulniers <> | Date | Mon, 22 Aug 2022 14:36:14 -0700 | Subject | Re: [PATCH v3] kbuild: add debug level and macro defs options |
| |
On Mon, Aug 22, 2022 at 9:45 AM Nick Desaulniers <ndesaulniers@google.com> 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
| |