Differential Revision: http://reviews.llvm.org/D10159 llvm-svn: 238837
Patch by Maria Guseva. Differential Revision: http://reviews.llvm.org/D9017 llvm-svn: 238406