This is an archive of the discontinued LLVM Phabricator instance.

Switch HostInfoNetBSD::GetProgramFileSpec to sysctl(7)
ClosedPublic

Authored by krytarowski on Jan 24 2017, 9:59 AM.

Details

Summary

Remove dependency on the proc (/proc) filesystem, which is optional.

KERN_PROC_PATHNAME is available in NetBSD-current and will land NetBSD 8.0.
Older stable versions of NetBSD will not be supported.

Sponsored by <The NetBSD Foundation>

Diff Detail

Repository
rL LLVM

Event Timeline

krytarowski created this revision.Jan 24 2017, 9:59 AM
clayborg accepted this revision.Jan 24 2017, 10:14 AM
This revision is now accepted and ready to land.Jan 24 2017, 10:14 AM
krytarowski closed this revision.Jan 28 2017, 12:16 PM