do not ignore attribute 'noreturn'...
commit7fc4304ac3b0d7389eac368a044d7381eec6c197
authorKamil Dudka <kdudka@redhat.com>
Fri, 28 Aug 2009 21:30:08 +0000 (28 21:30 +0000)
committerChristopher Li <sparse@chrisli.org>
Fri, 16 Oct 2009 20:27:58 +0000 (16 20:27 +0000)
tree47cc913afe44a10533c81640efb05468ab8523c3
parentc9930cabb2fc5b4f2d07ce4a62371d65569e5370
do not ignore attribute 'noreturn'...

Hello,

enclosed is a simple patch adding support for attribute 'noreturn' to the
parser. The enhancement makes it possible to optimize walk through CFG and
thus help us to fight with the state explosion. The benefit is demonstrated
on a simple real-world example.

Generated CFG before patch:
http://dudka.cz/devel/html/slsparse-before/slplug.c-handle_stmt_assign.svg

Generated CFG after patch:
http://dudka.cz/devel/html/slsparse-after/slplug.c-handle_stmt_assign.svg

It's one of the key features I am currently missing in SPARSE in contrast
to gcc used as parser. Thanks in advance for considering it!

Signed-off-by: Kamil Dudka <kdudka@redhat.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
parse.c
symbol.h