Add NetBSD support in sanitizer_test_utils.h
authorKamil Rytarowski <n54@gmx.com>
Mon, 7 Aug 2017 10:59:44 +0000 (10:59 +0000)
committerKamil Rytarowski <n54@gmx.com>
Mon, 7 Aug 2017 10:59:44 +0000 (10:59 +0000)
commitdc213718dbff594f7f7b0f3f052ad94066976389
treef04f990c07ca4d620a000f87ee4679814e24aabb
parentb0ca299cfec739307e3f398fdb1326b641db0aa1
Add NetBSD support in sanitizer_test_utils.h

Summary:
NetBSD ships with printf_l(3) like FreeBSD.

NetBSD does not ship with memalign, pvalloc, malloc with "usable size"
and is the same here as Darwin, Android, FreeBSD and Windows.

Sponsored by <The NetBSD Foundation>

Reviewers: joerg, vitalybuka, kcc, fjricci, filcab

Reviewed By: vitalybuka

Subscribers: srhines, llvm-commits, emaste, kubamracek, #sanitizers

Tags: #sanitizers

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

llvm-svn: 310248
compiler-rt/lib/sanitizer_common/tests/sanitizer_test_utils.h