Summary:
This is a fix of D13718. D13718 was committed but then reverted because of the following bug:
https://llvm.org/bugs/show_bug.cgi?id=25299
This patch fixes the issue shown in the bug.
Reviewers: majnemer, reames
Subscribers: jevinskie, llvm-commits
Differential Revision: http://reviews.llvm.org/D14308
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257277
91177308-0d34-0410-b5e6-
96231b3b80d8