Re: [PATCH v2 09/53] objtool: Replace iterator callback with for_each_sym_by_mangled_name()

From: Song Liu

Date: Fri May 01 2026 - 06:28:41 EST


On Fri, May 1, 2026 at 5:08 AM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> Convert the callback-based iterate_sym_by_demangled_name() with a new
> for_each_sym_by_demangled_name() macro. This eliminates the callback
> struct/function and makes the code more compact and readable.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>