summaryrefslogtreecommitdiff
path: root/tools/objtool/include/objtool/builtin.h
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-04-18 14:27:48 -0700
committerJosh Poimboeuf <jpoimboe@kernel.org>2023-05-16 06:31:51 -0700
commitca653464dd097fe64e69f1735e9f348b2a0f8037 (patch)
tree0d1f42b5efb9e2f46957e590f79b2062cdb5619e /tools/objtool/include/objtool/builtin.h
parent5e3992fe72748ed3892be876f09d4d990548b7af (diff)
objtool: Add verbose option for disassembling affected functions
When a warning is associated with a function, add an option to disassemble that function. This makes it easier for reporters to submit the information needed to diagnose objtool warnings. Reviewed-by: Miroslav Benes <mbenes@suse.cz> Link: https://lore.kernel.org/r/dd0fe13428ede186f09c74059a8001f4adcea5fc.1681853186.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/objtool/include/objtool/builtin.h')
-rw-r--r--tools/objtool/include/objtool/builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/include/objtool/builtin.h b/tools/objtool/include/objtool/builtin.h
index 2a108e648b7a..fcca6662c8b4 100644
--- a/tools/objtool/include/objtool/builtin.h
+++ b/tools/objtool/include/objtool/builtin.h
@@ -37,6 +37,7 @@ struct opts {
bool no_unreachable;
bool sec_address;
bool stats;
+ bool verbose;
};
extern struct opts opts;