[all-commits] [llvm/llvm-project] 54fcea: Revert "[Support] Use unique_function rather than ...

lhames via All-commits all-commits at lists.llvm.org
Thu Sep 10 11:53:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 54fcea86b1658f5fc70f4f1e7a763f87742d79bc
      https://github.com/llvm/llvm-project/commit/54fcea86b1658f5fc70f4f1e7a763f87742d79bc
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-09-10 (Thu, 10 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Support/ThreadPool.h
    M llvm/unittests/Support/ThreadPool.cpp

  Log Message:
  -----------
  Revert "[Support] Use unique_function rather than std::function for ThreadPool TaskTy."

This reverts commit d9c8b0256cfc673c2413b13993c9440be598818f.

Some MSVC std::packaged_task implementations are not compatible with move-only types.
This caused failures on some of the Windows builders (e.g.
http://lab.llvm.org:8011/builders/sanitizer-windows/builds/69412).

Reverting until I can come up with a workaround.




More information about the All-commits mailing list