[PATCH v3 10/21] objtool: Ignore jumps to the end of the function for checksum runs

Peter Zijlstra peterz at infradead.org
Wed May 13 00:36:17 PDT 2026


On Tue, May 12, 2026 at 08:33:44PM -0700, Josh Poimboeuf wrote:
> Sometimes Clang arm64 code jumps to the end of the function for UB.
> No need to make that an error for checksum runs.

I'm not sure I understand the rationale. If the compiler trips UB, we
want to be complaining about that no?

Same as when clang just stops code-gen, also something we commonly see
when it hits UB.



More information about the linux-arm-kernel mailing list