[msan] make calloc crash instead of returning 0 on overflow (controlled by the alloca...
commit967e07eccfec5e013df5f77b7dd906abfa6b60d9
authorKostya Serebryany <kcc@google.com>
Fri, 6 Sep 2013 10:58:55 +0000 (6 10:58 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 6 Sep 2013 10:58:55 +0000 (6 10:58 +0000)
treec07d419ed7350c48b12cae0525ed26a31a7ad6b3
parent48b7ee943e01a206600b0189e6b2b0125c4dd1d1
[msan] make calloc crash instead of returning 0 on overflow (controlled by the allocator_may_return_null flag)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190132 91177308-0d34-0410-b5e6-96231b3b80d8
lib/msan/msan_interceptors.cc
lib/msan/tests/msan_test.cc