OSDN Git Service

hwasan: Pad arrays with non-1 size correctly.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 16 Jul 2019 03:25:50 +0000 (03:25 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 16 Jul 2019 03:25:50 +0000 (03:25 +0000)
commitb9b89d475a7363ce0979f11dbce5ff5c8d3bfa77
tree77c1dd25ae747488b98ecf924dfa9b627691a3e2
parent48a2462687932fd6f424a4d6c683256cb7235c4d
hwasan: Pad arrays with non-1 size correctly.

Spotted by eugenis.

Differential Revision: https://reviews.llvm.org/D64783

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366171 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
test/Instrumentation/HWAddressSanitizer/alloca-array.ll [new file with mode: 0644]
test/Instrumentation/HWAddressSanitizer/alloca-with-calls.ll
test/Instrumentation/HWAddressSanitizer/alloca.ll
test/Instrumentation/HWAddressSanitizer/kernel-alloca.ll