Alex Shlyapnikov 42bea018af [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
2017-07-18 19:11:04 +00:00
..
2017-02-24 00:13:28 +00:00
2016-02-29 08:22:55 +00:00
2015-07-17 23:28:02 +00:00
2017-03-16 01:06:22 +00:00
2014-04-30 21:34:17 +00:00
2016-12-08 06:30:58 +00:00
2016-02-24 13:48:14 +00:00
2014-04-30 21:34:17 +00:00
2014-04-30 21:34:17 +00:00
2014-04-30 21:34:17 +00:00
2014-04-30 21:34:17 +00:00
2014-04-30 21:34:17 +00:00
2015-09-16 15:12:25 +00:00
2014-04-30 21:34:17 +00:00
2015-07-05 08:11:36 +00:00