diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-07-18 19:11:04 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-07-18 19:11:04 +0000 |
commit | 42bea018af0451aafacbbdf77f4cbc311550da54 (patch) | |
tree | 34d97e2dcc3a94f0b7d76152e4830b6f75b68690 /llvm/lib/Object/COFFModuleDefinition.cpp | |
parent | dda87cab7d2a9772ed325a7395c560cbd1b258ad (diff) | |
download | llvm-42bea018af0451aafacbbdf77f4cbc311550da54.zip llvm-42bea018af0451aafacbbdf77f4cbc311550da54.tar.gz llvm-42bea018af0451aafacbbdf77f4cbc311550da54.tar.bz2 |
[Sanitizers] ASan/MSan/LSan allocators set errno on failure.
Summary:
ASan/MSan/LSan allocators set errno on allocation failures according to
malloc/calloc/etc. expected behavior.
MSan allocator was refactored a bit to make its structure more similar
with other allocators.
Also switch Scudo allocator to the internal errno definitions.
TSan allocator changes will follow.
Reviewers: eugenis
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D35275
llvm-svn: 308344
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions