This is an archive of the discontinued LLVM Phabricator instance.

Introduce SANITIZER_NETBSD in sanitizer_platform.h
ClosedPublic

Authored by krytarowski on Jul 16 2017, 5:04 PM.

Details

Summary

Add defines for new NetBSD: SANITIZER_NETBSD,
it will be used across the codebase for sanitizers.

NetBSD is a POSIX-like platform, add it to SANITIZER_POSIX.

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

Sponsored by <The NetBSD Foundation>

Diff Detail

Repository
rL LLVM

Event Timeline

krytarowski created this revision.Jul 16 2017, 5:04 PM
kcc accepted this revision.Jul 17 2017, 11:46 AM
kcc added a reviewer: vitalybuka.

LGTM

This revision is now accepted and ready to land.Jul 17 2017, 11:46 AM
krytarowski closed this revision.Jul 17 2017, 1:48 PM
kubamracek added inline comments.Jul 17 2017, 2:05 PM
lib/sanitizer_common/sanitizer_platform.h
16

This is missing a && and breaks the build.