[llvm] r281257 - [ORC] Add missing <thread> header to RPCSerialization.h.

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 11:44:42 PDT 2016


In the future, please use llvm/Support/thread.h:

// This header is a wrapper for <thread> that works around problems with the
// MSVC headers when exceptions are disabled. It also provides llvm::thread,
// which is either a typedef of std::thread or a replacement that calls the
// function synchronously depending on the value of LLVM_ENABLE_THREADS.

http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/10265/steps/build%20stage%201/logs/stdio

I'll see if I can fix it.

On Mon, Sep 12, 2016 at 1:45 PM, Lang Hames via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: lhames
> Date: Mon Sep 12 15:45:01 2016
> New Revision: 281257
>
> URL: http://llvm.org/viewvc/llvm-project?rev=281257&view=rev
> Log:
> [ORC] Add missing <thread> header to RPCSerialization.h.
>
> Modified:
>     llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h
>
> Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/
> llvm/ExecutionEngine/Orc/RPCSerialization.h?rev=281257&
> r1=281256&r2=281257&view=diff
> ============================================================
> ==================
> --- llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h
> (original)
> +++ llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCSerialization.h Mon
> Sep 12 15:45:01 2016
> @@ -12,6 +12,7 @@
>
>  #include "OrcError.h"
>  #include <sstream>
> +#include <thread>
>
>  namespace llvm {
>  namespace orc {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160913/6145e389/attachment.html>


More information about the llvm-commits mailing list