summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOUniversal.cpp
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2016-11-15 22:37:30 +0000
committerFilipe Cabecinhas <me@filcab.net>2016-11-15 22:37:30 +0000
commitec350b71fa69ebffb70d0dcb30c73a622742e1d8 (patch)
tree3a2f2c82f3636d360c2ca1e36d049d504b58960b /llvm/lib/Object/MachOUniversal.cpp
parent9a4ce290d0524b8c84e3d18db8f504e834f331ca (diff)
downloadbcm5719-llvm-ec350b71fa69ebffb70d0dcb30c73a622742e1d8.tar.gz
bcm5719-llvm-ec350b71fa69ebffb70d0dcb30c73a622742e1d8.zip
[AddressSanitizer] Add support for (constant-)masked loads and stores.
This patch adds support for instrumenting masked loads and stores under ASan, if they have a constant mask. isInterestingMemoryAccess now supports returning a mask to be applied to the loads, and instrumentMop will use it to generate additional checks. Added tests for v4i32 v8i32, and v4p0i32 (~v4i64) for both loads and stores (as well as a test to verify we don't add checks to non-constant masks). Differential Revision: https://reviews.llvm.org/D26230 llvm-svn: 287047
Diffstat (limited to 'llvm/lib/Object/MachOUniversal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud