Add NetBSD support in asan_malloc_linux.cc
authorKamil Rytarowski <n54@gmx.com>
Tue, 8 Aug 2017 20:52:54 +0000 (20:52 +0000)
committerKamil Rytarowski <n54@gmx.com>
Tue, 8 Aug 2017 20:52:54 +0000 (20:52 +0000)
commita1e4edd155f9e5bcdd0a72f15195659ef2ed6583
tree83059e1c58421547ae248206967484fa3bb6b514
parentc5c9ba1ca965091b85e3cbe6710adbf17aed3402
Add NetBSD support in asan_malloc_linux.cc

Summary:
Part of the code inspired by the original work on libsanitizer in GCC 5.4 by Christos Zoulas.

Sponsored by <The NetBSD Foundation>

Reviewers: joerg, kcc, fjricci, vitalybuka, filcab

Reviewed By: fjricci

Subscribers: llvm-commits, kubamracek, #sanitizers

Tags: #sanitizers

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

llvm-svn: 310414
compiler-rt/lib/asan/asan_malloc_linux.cc