This is an archive of the discontinued LLVM Phabricator instance.

Introduce internal_sysctlbyname in place of sysctlbyname
ClosedPublic

Authored by krytarowski on Oct 2 2018, 11:22 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

krytarowski created this revision.Oct 2 2018, 11:22 AM
vitalybuka accepted this revision.Oct 4 2018, 1:27 PM
vitalybuka added inline comments.
lib/sanitizer_common/sanitizer_netbsd.cc
96 ↗(On Diff #167986)

I don't see how DEFINE_INTERNAL is helpful

the following looks better:
uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd, OFF_T offset) {
}

This revision is now accepted and ready to land.Oct 4 2018, 1:27 PM
krytarowski added inline comments.Oct 4 2018, 2:24 PM
lib/sanitizer_common/sanitizer_netbsd.cc
96 ↗(On Diff #167986)

I will unroll it in a new revision.

This revision was automatically updated to reflect the committed changes.