freebsd-dev/contrib/llvm-project
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
..
clang Merge commit 35ecc7fe4 from llvm git (by Hubert Tong): 2020-10-13 19:42:22 +00:00
compiler-rt Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-09-16 16:58:29 +00:00
libcxx [libcxx] Fix atomic type for mips32 on gcc to work w/out needing libatomic 2020-10-18 17:31:10 +00:00
libunwind Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-09-16 16:58:29 +00:00
lld Merge commit 8df4e6094 from llvm git (by Fangrui Song): 2020-11-12 19:25:31 +00:00
lldb Merge commit 1ce07cd614be from llvm git (by me): 2020-08-22 10:55:55 +00:00
llvm For llvm's internal function which retrieves the number of available 2020-11-18 19:55:24 +00:00
openmp Merge commit 47b0262d3 from llvm git (by me): 2020-09-07 20:10:03 +00:00
FREEBSD-Xlist Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-07-31 21:22:58 +00:00