diff options
author | Filipe Cabecinhas <me@filcab.net> | 2018-01-02 13:21:50 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2018-01-02 13:21:50 +0000 |
commit | 016860cf2fa92698088a13d60259102546c7be29 (patch) | |
tree | 178c05b73db053560bc4b68ed6914123778dfc07 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 39f50e103b9bc282dee2195e303a51d6676c6c2d (diff) | |
download | llvm-016860cf2fa92698088a13d60259102546c7be29.zip llvm-016860cf2fa92698088a13d60259102546c7be29.tar.gz llvm-016860cf2fa92698088a13d60259102546c7be29.tar.bz2 |
ASan+operator new[]: Fix operator new[] cookie poisoning
Summary:
The C++ Itanium ABI says:
No cookie is required if the new operator being used is ::operator new[](size_t, void*).
We should only avoid poisoning the cookie if we're calling this
operator, not others. This is dealt with before the call to
InitializeArrayCookie.
Reviewers: rjmccall, kcc, rsmith
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D41301
llvm-svn: 321645
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions