diff options
author | Michal Gorny <mgorny@gentoo.org> | 2018-12-11 19:02:09 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2018-12-11 19:02:09 +0000 |
commit | 70cdd83cd6c05c730caeed7ea38c39f880053f8e (patch) | |
tree | f34ad2b9cafb3a93f2f2aca84a8cf3236820428d /llvm/lib/Analysis/CGSCCPassManager.cpp | |
parent | 37a22ea063625e28c931eae38653356d9849ae01 (diff) | |
download | bcm5719-llvm-70cdd83cd6c05c730caeed7ea38c39f880053f8e.tar.gz bcm5719-llvm-70cdd83cd6c05c730caeed7ea38c39f880053f8e.zip |
[runtime] Use getloadavg() on NetBSD as well
Switch NetBSD from reading /proc (which is broken) to getloadavg()
(which is already used by Darwin). NetBSD discourages using procfs
in favor of system API calls.
Differential Revision: https://reviews.llvm.org/D55486
llvm-svn: 348885
Diffstat (limited to 'llvm/lib/Analysis/CGSCCPassManager.cpp')
0 files changed, 0 insertions, 0 deletions