[msan] Add compile-time checks for missing origins.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 1 Dec 2014 09:53:51 +0000 (09:53 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 1 Dec 2014 09:53:51 +0000 (09:53 +0000)
commita056ac8a9823a60d85e0dfed2a0cee6c659d0f39
tree24491951f2c807b5a9978fc31724319c2f3127ad
parent1f0a44e6626f8ecb9814818f1c6f9738b447737f
[msan] Add compile-time checks for missing origins.

This change makes MemorySanitizer instrumentation a bit more strict
about instructions that have no origin id assigned to them.

This would have caught the bug that was fixed in r222918.

No functional change.

llvm-svn: 222997
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp