This is an archive of the discontinued LLVM Phabricator instance.

Add NetBSD support in asan_linux.cc
ClosedPublic

Authored by krytarowski on Aug 8 2017, 2:32 PM.

Details

Summary

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 8 2017, 2:32 PM
vitalybuka accepted this revision.Aug 10 2017, 11:39 AM
vitalybuka added inline comments.
lib/asan/asan_linux.cc
112
if (!(*p)) {
  *p = (char *)-1;
  return 0;
}
This revision is now accepted and ready to land.Aug 10 2017, 11:39 AM
krytarowski added inline comments.Aug 10 2017, 11:46 AM
lib/asan/asan_linux.cc
112

I will commit it and locally rediff for this change.

krytarowski closed this revision.Aug 10 2017, 11:52 AM