[msan] Fix handling of array types.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 31 Jul 2014 11:02:27 +0000 (11:02 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 31 Jul 2014 11:02:27 +0000 (11:02 +0000)
commit7ee4f09c9484880e9e530977697dcb22801b67a0
tree429c7a0d3b0f77fe59438ccda5cfac9b1b504258
parent8a78bb9836b5c889d3be28efe6fbddfa39f651cd
[msan] Fix handling of array types.

Switch array type shadow from a single integer to
an array of integers (i.e. make it per-element).
This simplifies instrumentation of extractvalue and fixes PR20493.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214398 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/MemorySanitizer.cpp
test/Instrumentation/MemorySanitizer/array_types.ll [new file with mode: 0644]