Set proper errno code on alloction failure and change pvalloc and
posix_memalign implementation to satisfy their man-specified
requirements.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Paths 
  |  Differential  D35429  
[Sanitizers] Scudo allocator set errno on failure. ClosedPublic Authored by alekseyshl on Jul 14 2017, 11:48 AM. 
Details Summary Set proper errno code on alloction failure and change pvalloc and 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jul 14 2017, 12:08 PM Closed by commit rL308053: [Sanitizers] Scudo allocator set errno on failure. (authored by alekseyshl).  ·  Explain WhyJul 14 2017, 2:17 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 106707 compiler-rt/trunk/lib/scudo/scudo_allocator.cpp
 compiler-rt/trunk/test/scudo/memalign.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||