Function splitter: added more comments and debug messages
Avoid emitting anything for naked functions.

Signed-off-by: Stefan Hepp <stefan@stefant.org>
Fixed jump table handling in function splitter