[msan] Switch the pvalloc overflow test to a lit test
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 4 Aug 2017 07:32:10 +0000 (07:32 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 4 Aug 2017 07:32:10 +0000 (07:32 +0000)
commit7fba72e97bfce386762b59eeba95d6b4b5d9fb32
tree17348e9cf7b12743b99ef3e15746ea3ba60f823c
parent2f6ae28152154e30aeb0c05b4a195f2dd7d2719b
[msan] Switch the pvalloc overflow test to a lit test

The test was not passing on targets where allocator_may_return_null
defaults to true. Change the test to a lit test so that we can test both
situations.

Patch by Kostya Kortchinsky!

Differential Revision: https://reviews.llvm.org/D36302

llvm-svn: 310033
compiler-rt/lib/msan/tests/msan_test.cc
compiler-rt/test/msan/pvalloc.cc [new file with mode: 0644]