Skip to content
Commit fedb724c authored by Josh Poimboeuf's avatar Josh Poimboeuf
Browse files

objtool: Detect missing __noreturn annotations



Most "unreachable instruction" warnings these days seem to actually be
the result of a missing __noreturn annotation.  Add an explicit check
for that.

Reviewed-by: default avatarMiroslav Benes <mbenes@suse.cz>
Link: https://lore.kernel.org/r/6e2b93d8c65eaed6c4166a358269dc0ef01f890c.1681853186.git.jpoimboe@kernel.org
Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
parent ced23d2e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment