mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 00:29:35 +08:00
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>
This commit is contained in:
@@ -488,9 +488,6 @@ static const char *demangle_name(struct symbol *sym)
|
||||
char *str;
|
||||
ssize_t len;
|
||||
|
||||
if (!is_local_sym(sym))
|
||||
return sym->name;
|
||||
|
||||
if (!is_func_sym(sym) && !is_object_sym(sym))
|
||||
return sym->name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user