diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-07-14 22:23:47 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-07-14 22:23:47 +0000 |
commit | dd3d6da1dfc6833e39650a23b570a81b1e85aff8 (patch) | |
tree | ca6c6cfc94a0473fdeb5183abea825d2590e1eb3 /CMakeLists.txt | |
parent | 2706e2583c3e18af76761f5907e981d831850eff (diff) |
[Sanitizers] ASan and LSan allocator set errno on failure.
Summary:
Set proper errno code on alloction failures and change some
implementations to satisfy their man-specified requirements:
LSan: valloc and memalign
ASan: pvalloc, memalign and posix_memalign
Changing both allocators in one patch since LSan depends on ASan allocator in some configurations.
Reviewers: vitalybuka
Subscribers: kubamracek, llvm-commits
Differential Revision: https://reviews.llvm.org/D35440
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@308064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions