aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-11-29 22:59:12 +0000
committerChristopher <sparse@chrisli.org>2010-03-28 17:51:36 -0700
commitb44806626df56ebf4948a4597284935f8a10153e (patch)
tree834a89658159e4fdcfbd283f3f41ec9a02161321
parentignore attributes "externally_visible" and "signal" (diff)
downloadsparse-b44806626df56ebf4948a4597284935f8a10153e.tar.gz
sparse-b44806626df56ebf4948a4597284935f8a10153e.tar.bz2
sparse-b44806626df56ebf4948a4597284935f8a10153e.zip
Ignore "naked" attribute
The GCC "naked" attribute is used on certain architectures to generate functions without a prologue/epilogue. Ignore it in sparse. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r--parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index b5aced1..66b8112 100644
--- a/parse.c
+++ b/parse.c
@@ -521,6 +521,8 @@ const char *ignored_attributes[] = {
"__model__",
"ms_abi",
"__ms_abi__",
+ "naked",
+ "__naked__",
"no_instrument_function",
"__no_instrument_function__",
"noinline",