aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2020-11-25 16:42:42 -0500
committerLouis Dionne <ldionne.2@gmail.com>2020-11-26 12:00:59 -0500
commit3d7f19ff182b249521061cff7a908efbc68d9f54 (patch)
tree5a0a23b7b2b10e88e3b1dbcdc398d96c5d28fb91 /llvm/lib/CodeGen/MachinePipeliner.cpp
parentd7ca140c0122a55a4042fb263ea3baaa501c361d (diff)
downloadllvm-3d7f19ff182b249521061cff7a908efbc68d9f54.zip
llvm-3d7f19ff182b249521061cff7a908efbc68d9f54.tar.gz
llvm-3d7f19ff182b249521061cff7a908efbc68d9f54.tar.bz2
[libc++] Remove sysctl-based implementation of thread::hardware_concurrency()
Using sysctl requires including headers that are considered internal on Linux, like <sys/sysctl.h> & friends. Instead, sysconf is defined by POSIX (and we have a fallback for Windows), so all the systems we support should be happy with just sysconf. Differential Revision: https://reviews.llvm.org/D92135
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions