[ASan] Do allocate memory even for zero-size allocation requests. Explain why we...
authorAlexey Samsonov <samsonov@google.com>
Tue, 29 Jan 2013 07:51:34 +0000 (07:51 +0000)
committerAlexey Samsonov <samsonov@google.com>
Tue, 29 Jan 2013 07:51:34 +0000 (07:51 +0000)
commit615b86cf0a8203c9c97ad9d4aae19bb8e4d61107
tree2680745eadfd9ae625c23c29c400e0efe1f7da4d
parent399c9bfcc058a9152d47b80ae85213ef6497e74b
[ASan] Do allocate memory even for zero-size allocation requests. Explain why we have to do this in comments.

llvm-svn: 173776
compiler-rt/lib/asan/asan_allocator2.cc
compiler-rt/lib/asan/tests/asan_test.cc