Remove dead functions from unreachable code analysis.