vsk added a comment. I think we can close this, then. The functionality needed to test debug info invariance is already in tree. Take a look at https://reviews.llvm.org/rL333861. https://reviews.llvm.org/D46815