This is an archive of the discontinued LLVM Phabricator instance.

Add NetBSD support in sanitizer_linux_libcdep.cc
ClosedPublic

Authored by krytarowski on Aug 4 2017, 8:49 AM.

Details

Summary

When possible reuse FreeBSD and Linux code.

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.Aug 4 2017, 8:49 AM
vitalybuka accepted this revision.Aug 4 2017, 2:36 PM
vitalybuka added inline comments.
lib/sanitizer_common/sanitizer_linux_libcdep.cc
339

#elif SANITIZER_NETBSD

This revision is now accepted and ready to land.Aug 4 2017, 2:36 PM
krytarowski closed this revision.Aug 4 2017, 3:33 PM
krytarowski marked an inline comment as done.Aug 4 2017, 3:35 PM
krytarowski added inline comments.
lib/sanitizer_common/sanitizer_linux_libcdep.cc
339

Applied in the committed code.