mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
129f5a2768
The issue with std:🧵:hardware_concurrency is that it forwards
to libc and some implementations (like glibc) don't take thread
affinity into consideration.
With this change a llvm program that can execute in only 2 cores will
use 2 threads, even if the machine has 32 cores.
This makes benchmarking a lot easier, but should also help if someone
doesn't want to use all cores for compilation for example.
llvm-svn: 314809
|
||
---|---|---|
.. | ||
afl | ||
standalone | ||
build.sh | ||
cxx.dict | ||
FuzzerClangCounters.cpp | ||
FuzzerCorpus.h | ||
FuzzerCrossOver.cpp | ||
FuzzerDefs.h | ||
FuzzerDictionary.h | ||
FuzzerDriver.cpp | ||
FuzzerExtFunctions.def | ||
FuzzerExtFunctions.h | ||
FuzzerExtFunctionsDlsym.cpp | ||
FuzzerExtFunctionsDlsymWin.cpp | ||
FuzzerExtFunctionsWeak.cpp | ||
FuzzerExtFunctionsWeakAlias.cpp | ||
FuzzerExtraCounters.cpp | ||
FuzzerFlags.def | ||
FuzzerInterface.h | ||
FuzzerInternal.h | ||
FuzzerIO.cpp | ||
FuzzerIO.h | ||
FuzzerIOPosix.cpp | ||
FuzzerIOWindows.cpp | ||
FuzzerLoop.cpp | ||
FuzzerMain.cpp | ||
FuzzerMerge.cpp | ||
FuzzerMerge.h | ||
FuzzerMutate.cpp | ||
FuzzerMutate.h | ||
FuzzerOptions.h | ||
FuzzerRandom.h | ||
FuzzerSHA1.cpp | ||
FuzzerSHA1.h | ||
FuzzerShmem.h | ||
FuzzerShmemPosix.cpp | ||
FuzzerShmemWindows.cpp | ||
FuzzerTracePC.cpp | ||
FuzzerTracePC.h | ||
FuzzerUtil.cpp | ||
FuzzerUtil.h | ||
FuzzerUtilDarwin.cpp | ||
FuzzerUtilLinux.cpp | ||
FuzzerUtilPosix.cpp | ||
FuzzerUtilWindows.cpp | ||
FuzzerValueBitMap.h | ||
README.txt |
libFuzzer was moved to compiler-rt in https://reviews.llvm.org/D36908. All future changes should be directed there. The copy of sources is temporarily left in this folder for the duration of a move.