[PATCH] D38481: Use sched_getaffinity instead of std::thread::hardware_concurrency when available

Tim Shen via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 4 12:16:59 PDT 2017


On Wed, Oct 4, 2017 at 11:36 AM Rafael Avila de Espindola <
rafael.espindola at gmail.com> wrote:

> Tim Shen via Phabricator <reviews at reviews.llvm.org> writes:
>
> > timshen added a comment.
> >
> > Hi,
> >
> > I reverted the change to FuzzerUtil.cpp, as it doesn't seem to depend on
> LLVM.
>
> Sorry about that.  What do I need to do to build it?
>

Since it's already duplicated from compiler-rt, maybe we can fix
compiler-rt and rebase it in LLVM.

To fix compiler-rt, I suggest to duplicate the hardware_concurrency, as
it's done elsewhere in compiler-rt.


>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171004/cbdeb8c4/attachment.html>


More information about the llvm-commits mailing list