diff options
author | 2009-11-29 22:59:12 +0000 | |
---|---|---|
committer | 2010-03-28 17:51:36 -0700 | |
commit | b44806626df56ebf4948a4597284935f8a10153e (patch) | |
tree | 834a89658159e4fdcfbd283f3f41ec9a02161321 | |
parent | ignore attributes "externally_visible" and "signal" (diff) | |
download | sparse-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -521,6 +521,8 @@ const char *ignored_attributes[] = { "__model__", "ms_abi", "__ms_abi__", + "naked", + "__naked__", "no_instrument_function", "__no_instrument_function__", "noinline", |