Fixes Issue 5140 - Implement __FUNCTION__ and __PRETTY_FUNCTION__ feature.