ruiu added a comment. Since this is a large patch, I applied this to my local repository to see how it would actually work, but it didn't compile (on Linux). Can you fix the build issue and upload it again? http://reviews.llvm.org/D16771