[Sanitizers] Move allocator_returns_null.cc test to common.
authorAlex Shlyapnikov <alekseys@google.com>
Mon, 11 Jun 2018 19:45:59 +0000 (19:45 +0000)
committerAlex Shlyapnikov <alekseys@google.com>
Mon, 11 Jun 2018 19:45:59 +0000 (19:45 +0000)
commit406385505d4e94db4f9ec042f6cfb0370e63924a
tree816cca543d9eba5e20faef94a6334eb9c9e95773
parent2389a240d02bd8440995e2ad630958e1971ebec7
[Sanitizers] Move allocator_returns_null.cc test to common.

Summary:
Add allocator_returns_null.cc test to sanitizer_common and
remove all sanitizer-specific ones except:
- HWASan is not covered by sanitizer_common
- TSan allocator does not have comprehensive error reporting yet

Reviewers: vitalybuka

Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits

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

llvm-svn: 334433
compiler-rt/test/asan/TestCases/allocator_returns_null.cc [deleted file]
compiler-rt/test/lsan/TestCases/allocator_returns_null.cc [deleted file]
compiler-rt/test/msan/allocator_returns_null.cc [deleted file]
compiler-rt/test/sanitizer_common/TestCases/allocator_returns_null.cc [new file with mode: 0644]