summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-08-04 20:28:59 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-08-04 20:28:59 +0000
commitd7d1681a0e66953e8552a26ca14019352a2aff0c (patch)
tree77c4b6cb1def0055e2812ec8b223c186cd6ca0d6 /clang/lib/CodeGen/CodeGenFunction.cpp
parentb24df62bb61c7db78eb389f1e646900e6af8508d (diff)
downloadbcm5719-llvm-d7d1681a0e66953e8552a26ca14019352a2aff0c.tar.gz
bcm5719-llvm-d7d1681a0e66953e8552a26ca14019352a2aff0c.zip
[asan] Check for pvalloc overlow
Summary: Last one of the `pvalloc` overflow checks! `CheckForPvallocOverflow` was introduced with D35818 to detect when `pvalloc` would wrap when rounding up to the next multiple of the page size. Add this check to ASan's `pvalloc` implementation. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D36257 llvm-svn: 310119
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud