(As with the other change, I don't know who the correct reviewer is. Please re-assign if I've chosen incorrectly).
See http://reviews.llvm.org/D3996 for a more comprehensive description of this change.
This patch simply instantiates the PassRegistry in main for clang.