lkml.org 
[lkml]   [2023]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] objtool: warning improvements
Date
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

\
 
 \ /
  Last update: 2023-03-27 18:01    [W:0.114 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site