diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-07-24 21:22:59 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-07-24 21:22:59 +0000 |
commit | 132689243e03b4e817aaac82d352a029216e9fee (patch) | |
tree | cb055b3cd4b5f7567fceff039e7033262568bcd9 /llvm/lib/Transforms | |
parent | e0ba415740a861a99aa56ea0c501a52023eb9bb2 (diff) | |
download | bcm5719-llvm-132689243e03b4e817aaac82d352a029216e9fee.tar.gz bcm5719-llvm-132689243e03b4e817aaac82d352a029216e9fee.zip |
[Sanitizers] TSan allocator set errno on failure.
Summary:
Set proper errno code on allocation failures and change realloc, pvalloc,
aligned_alloc, memalign and posix_memalign implementation to satisfy
their man-specified requirements.
Modify allocator API implementation to bring it closer to other
sanitizers allocators.
Reviewers: dvyukov
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D35690
llvm-svn: 308929
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions