llvm-project/compiler-rt/lib
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
..
BlocksRuntime
asan [Sanitizers] ASan/MSan/LSan allocators set errno on failure. 2017-07-18 19:11:04 +00:00
builtins [compiler-rt][X86] Match the detection of cpu's for __cpu_model to the latest version of gcc 2017-07-13 02:56:24 +00:00
cfi CFI: Add a blacklist entry for std::_Sp_counted_ptr_inplace::_Sp_counted_ptr_inplace(). 2017-05-05 18:46:14 +00:00
dfsan [sanitizer-coverage] remove stale code (old coverage); compiler-rt part 2017-05-31 18:26:32 +00:00
esan Refactor MemoryMappingLayout::Next to use a single struct instead of output parameters. NFC. 2017-07-11 18:54:00 +00:00
interception [WinASan] Fix hotpatching new Win 10 build 1703 x64 strnlen prologue 2017-06-16 20:44:00 +00:00
lsan [Sanitizers] ASan/MSan/LSan allocators set errno on failure. 2017-07-18 19:11:04 +00:00
msan [Sanitizers] ASan/MSan/LSan allocators set errno on failure. 2017-07-18 19:11:04 +00:00
profile [profile] Move __llvm_profile_filename into a separate object 2017-06-29 17:42:24 +00:00
safestack [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_common [Sanitizers] ASan/MSan/LSan allocators set errno on failure. 2017-07-18 19:11:04 +00:00
scudo [Sanitizers] ASan/MSan/LSan allocators set errno on failure. 2017-07-18 19:11:04 +00:00
stats Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
tsan [Sanitizers] ASan/MSan/LSan allocators set errno on failure. 2017-07-18 19:11:04 +00:00
ubsan [ubsan] Teach the pointer overflow check that "p - <unsigned> <= p" (compiler-rt) 2017-07-13 20:55:41 +00:00
xray [XRay][compiler-rt][NFC] Add example always/never instrument files. 2017-06-28 04:44:36 +00:00
CMakeLists.txt Don't build tsan/dd when COMPILER_RT_HAS_TSAN is false 2017-06-27 21:10:46 +00:00