bogner accepted this revision. bogner added a comment. This revision is now accepted and ready to land. Looks good. If people don't like the behaviour of mixing -func and -bb we can revisit later. https://reviews.llvm.org/D41638