freebsd-dev/contrib/llvm-project/llvm
Dimitry Andric 991f6e7534 For llvm's internal function which retrieves the number of available
"hardware threads", use cpuset_getaffinity(2) on FreeBSD, so it will
honor processor sets configured by the cpuset(1) command.

This should make it possible to avoid e.g. lld creating a huge number of
threads on a machine with many cores, even for linking simple programs.

This will also be submitted upstream.

Submitted by:	mjg
MFC after:	1 week
2020-11-18 19:55:24 +00:00
..
include Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-10-01 19:06:07 +00:00
lib For llvm's internal function which retrieves the number of available 2020-11-18 19:55:24 +00:00
tools Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-07-31 21:22:58 +00:00
utils/TableGen Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-07-31 21:43:56 +00:00
LICENSE.TXT