Re: [PATCH] objtool: Don't add empty symbols to the rbtree

2021-01-07 Thread Peter Zijlstra
On Wed, Jan 06, 2021 at 09:33:20PM -0600, Josh Poimboeuf wrote: > Building with the Clang assembler shows the following warning: > > arch/x86/kernel/ftrace_64.o: warning: objtool: missing symbol for insn at > offset 0x16 > > The Clang assembler strips section symbols. That ends up giving > ob

[PATCH] objtool: Don't add empty symbols to the rbtree

2021-01-06 Thread Josh Poimboeuf
Building with the Clang assembler shows the following warning: arch/x86/kernel/ftrace_64.o: warning: objtool: missing symbol for insn at offset 0x16 The Clang assembler strips section symbols. That ends up giving objtool's find_func_containing() much more test coverage than normal. Turns out,