linux/tools/objtool/include/objtool
Josh Poimboeuf aa8b3e64fd objtool: Create backup on error and print args
Recreating objtool errors can be a manual process.  Kbuild removes the
object, so it has to be compiled or linked again before running objtool.
Then the objtool args need to be reversed engineered.

Make that all easier by automatically making a backup of the object file
on error, and print a modified version of the args which can be used to
recreate.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/7571e30636359b3e173ce6e122419452bb31882f.1741975349.git.jpoimboe@kernel.org
2025-03-17 11:36:02 +01:00
..
arch.h objtool: Handle PC relative relocation type 2025-03-12 15:43:38 -07:00
builtin.h objtool: Create backup on error and print args 2025-03-17 11:36:02 +01:00
cfi.h objtool: Allow stack operations in UNWIND_HINT_UNDEFINED regions 2023-06-07 10:03:11 -07:00
check.h objtool: Allow arch code to discover jump table size 2024-12-02 12:24:29 +01:00
elf.h objtool: Increase per-function WARN_FUNC() rate limit 2025-03-17 11:36:00 +01:00
endianness.h objtool: Use target file endianness instead of a compiled constant 2022-11-18 19:00:15 +11:00
objtool.h objtool: Remove instruction::list 2023-02-23 09:21:44 +01:00
orc.h objtool/x86: Separate arch-specific and generic parts 2024-03-11 22:23:47 +08:00
special.h objtool: Fix C jump table annotations for Clang 2025-02-25 09:46:16 -08:00
warn.h objtool: Change "warning:" to "error:" for --Werror 2025-03-17 11:36:02 +01:00