[PATCH 0/5] objtool: warning improvements

From: Josh Poimboeuf
Date: Mon Mar 27 2023 - 12:01:30 EST


Add some user-friendliness to the warnings:

- Add OBJTOOL_ARGS="--verbose" option for making it easier to debug
objtool warnings over email

- Remove per-file rate limiting (doesn't make sense for vmlinux.o)

- Add "missing __noreturn" warning

Josh Poimboeuf (5):
objtool: Add '--verbose' option for disassembling affected functions
objtool: Combine '--backtrace' with '--verbose'
objtool: Remove superfluous dead_end_function() check
objtool: Add per-function rate limiting for unreachable warnings
objtool: Add "missing __noreturn" warning

tools/objtool/Documentation/objtool.txt | 12 ++++++
tools/objtool/builtin-check.c | 2 +-
tools/objtool/check.c | 45 ++++++++++++---------
tools/objtool/include/objtool/builtin.h | 2 +-
tools/objtool/include/objtool/elf.h | 1 +
tools/objtool/include/objtool/warn.h | 52 ++++++++++++++++++++++---
6 files changed, 88 insertions(+), 26 deletions(-)

--
2.39.2