Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

objtool/klp: Also demangle global objects

With CONFIG_LTO_CLANG_THIN, it is possible to have global __UNIQUE_ID,
such as:

FUNC GLOBAL HIDDEN 19745 __UNIQUE_ID_quirk_amd_nb_node_458

Also demangle global objects.

Signed-off-by: Song Liu <song@kernel.org>
Link: https://patch.msgid.link/20260305231531.3847295-5-song@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>

authored by

Song Liu and committed by
Josh Poimboeuf
82062777 0b8fc6ad

-3
-3
tools/objtool/elf.c
··· 488 488 char *str; 489 489 ssize_t len; 490 490 491 - if (!is_local_sym(sym)) 492 - return sym->name; 493 - 494 491 if (!is_func_sym(sym) && !is_object_sym(sym)) 495 492 return sym->name; 496 493