]> git.baikalelectronics.ru Git - kernel.git/commit
Makefile.debug: re-enable debug info for .S files
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 19 Sep 2022 17:45:47 +0000 (10:45 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Sep 2022 02:19:19 +0000 (11:19 +0900)
commit4658eaed64f68b1ec029b23f6ae6d2076e451e4d
tree01c8bb2649848f563a292b9d05be9d5135e24890
parentd55c5e5d6d33c9937ab18669b5136e16810db8ed
Makefile.debug: re-enable debug info for .S files

Alexey reported that the fraction of unknown filename instances in
kallsyms grew from ~0.3% to ~10% recently; Bill and Greg tracked it down
to assembler defined symbols, which regressed as a result of:

commit f57637f6477b ("Kbuild: do not emit debug info for assembly with LLVM_IAS=1")

In that commit, I allude to restoring debug info for assembler defined
symbols in a follow up patch, but it seems I forgot to do so in

commit 49f087762cc6 ("Kbuild: make DWARF version a choice")

Link: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=31bf18645d98b4d3d7357353be840e320649a67d
Fixes: f57637f6477b ("Kbuild: do not emit debug info for assembly with LLVM_IAS=1")
Reported-by: Alexey Alexandrov <aalexand@google.com>
Reported-by: Bill Wendling <morbo@google.com>
Reported-by: Greg Thelen <gthelen@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
lib/Kconfig.debug
scripts/Makefile.debug