mirror of
https://github.com/dynup/kpatch
synced 2025-01-20 03:50:42 +00:00
create-diff-object: add __FUNCTION__ variables to the special static list
As discovered in #918, the `__FUNCTION__` static local variable is similar to the `__func__` variable, in that it refers to the current function name. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
parent
7305d6c29a
commit
72103a178c
@ -250,6 +250,7 @@ static int is_special_static(struct symbol *sym)
|
|||||||
"__warned.",
|
"__warned.",
|
||||||
"descriptor.",
|
"descriptor.",
|
||||||
"__func__.",
|
"__func__.",
|
||||||
|
"__FUNCTION__.",
|
||||||
"_rs.",
|
"_rs.",
|
||||||
"CSWTCH.",
|
"CSWTCH.",
|
||||||
NULL,
|
NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user