objtool: Ignore unwind hints for ignored functions
authorJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 14 Sep 2021 14:41:23 +0000 (23:41 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 1 Oct 2021 01:24:07 +0000 (21:24 -0400)
commit5b284b1933688ff18099b2cb8e83456bdd149e10
tree7c1d1f8dcd1dfcbe26b06c01bc41b68e5b3fd5aa
parente028c4f7ac7ca8c96126fe46c54ab3d56ffe6a66
objtool: Ignore unwind hints for ignored functions

If a function is ignored, also ignore its hints.  This is useful for the
case where the function ignore is conditional on frame pointers, e.g.
STACK_FRAME_NON_STANDARD_FP().

Link: https://lkml.kernel.org/r/163163048317.489837.10988954983369863209.stgit@devnote2
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/objtool/check.c