From 72103a178c878bf7cdef91f2761d4ef64272dc02 Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Wed, 17 Oct 2018 20:32:09 -0500 Subject: [PATCH] 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 --- kpatch-build/create-diff-object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kpatch-build/create-diff-object.c b/kpatch-build/create-diff-object.c index a24927f..0362f34 100644 --- a/kpatch-build/create-diff-object.c +++ b/kpatch-build/create-diff-object.c @@ -250,6 +250,7 @@ static int is_special_static(struct symbol *sym) "__warned.", "descriptor.", "__func__.", + "__FUNCTION__.", "_rs.", "CSWTCH.", NULL,