[PATCH 0/5] objtool: warning improvements

Josh Poimboeuf posted 5 patches 2 years, 10 months ago
There is a newer version of this series
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(-)
[PATCH 0/5] objtool: warning improvements
Posted by Josh Poimboeuf 2 years, 10 months ago
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