This is an archive of the discontinued LLVM Phabricator instance.

Add NetBSD support in sanitizer_unwind_linux_libcdep.cc
ClosedPublic

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

Details

Summary

NetBSD is a POSIX-like and BSD-family system.

Reuse FreeBSD and Linux code.

NetBSD uses DWARF ExceptionHandler.

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:18 AM
vitalybuka accepted this revision.Aug 4 2017, 5:29 PM
This revision is now accepted and ready to land.Aug 4 2017, 5:29 PM
vitalybuka added inline comments.Aug 4 2017, 5:32 PM
lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc
11

Same about commend as in D35553

krytarowski added inline comments.Aug 5 2017, 4:45 AM
lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc
11

I'm not sure what does this comment mean. If we can improve it, we can do it later. I will push this change as it is.

There will certainly come OpenBSD at some point and they will reuse the same files.

krytarowski closed this revision.Aug 5 2017, 6:37 AM