msan] Add compile-time checks for missing origins.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 3 Dec 2014 14:15:53 +0000 (14:15 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 3 Dec 2014 14:15:53 +0000 (14:15 +0000)
commit78d5d1ea1b79d810ed24f7b445d0bfccb0742e1f
tree306a707f90101e91cbc52f36bea09bf9ba6a2006
parent10e28ca6b15dcd528919b6c315a8a942d680adbd
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.

This is re-commit of r222997, reverted in r223211, with 3 more
missing origins added.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223236 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/MemorySanitizer.cpp