summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerExtFunctionsWeakAlias.cpp
diff options
context:
space:
mode:
authorMarcos Pividori <mpividori@google.com>2016-12-13 17:45:53 +0000
committerMarcos Pividori <mpividori@google.com>2016-12-13 17:45:53 +0000
commit6e3d885c791b5d6f2120c0ec345b5604851709d2 (patch)
tree69fe5be3bd9e977203fd14d66f9a1a7ce9d9fb7f /llvm/lib/Fuzzer/FuzzerExtFunctionsWeakAlias.cpp
parent463f8bdd0b85ea19177ff5e22d2fca34859b2234 (diff)
downloadbcm5719-llvm-6e3d885c791b5d6f2120c0ec345b5604851709d2.tar.gz
bcm5719-llvm-6e3d885c791b5d6f2120c0ec345b5604851709d2.zip
[libFuzzer] Properly use unsigned for workers, jobs and NumberOfCpuCores.
std::thread::hardware_concurrency() returns an unsigned, so I modify NumberOfCpuCores() to return unsigned too. The number of cpus is used to define the number of workers, so I decided to update the worker and jobs flags to be declared as unsigned too. Differential Revision: https://reviews.llvm.org/D27685 llvm-svn: 289559
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerExtFunctionsWeakAlias.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud