Refactor DebugHandlerBase a bit to common non-debug-having-function filtering

llvm-svn: 295354
7 files changed