[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)
commitf1b5d9ae6e34c8dc278e5f8da85f1840462ef76e
treed6015a1ffacbe224bc114f6154f1c540fdbff4e3
parent8b9cea42db8ecd0903079732294fb216fabfe208
[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.

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