<div dir="ltr">I personally haven't seen the stability issue on my Windows machine, and looks like /MDd is passed to the command line for a debug build. I wonder how you would get a build with the /MTd option. Did you explicitly pass the option when you run CMake?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 15, 2018 at 7:33 AM, Owen Reynolds via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>Last year I submitted a bug regarding the use of 'parallel_for_each' and Windows Concurrency Library. We have found that when compiling in Visual Studio 2015 and 2017 with /MTd, the use of 'concurrency::parallel_for_<wbr>each' can cause unhandled exceptions when the program is exiting.</div><div><br></div><div><a href="https://bugs.llvm.org/show_bug.cgi?id=34976" target="_blank">https://bugs.llvm.org/show_<wbr>bug.cgi?id=34976</a><br></div><div><br></div><div>After having some difficulty clarifying this issue with Microsoft I submitted the issue again this week and have found that they are aware of the problem. However, I've yet to be given any information on a timescale for a fix. </div><div><br></div><div><a href="https://developercommunity.visualstudio.com/content/problem/198027/use-of-concurrencyparallel-for-each-with-the-multi.html" target="_blank">https://developercommunity.<wbr>visualstudio.com/content/<wbr>problem/198027/use-of-<wbr>concurrencyparallel-for-each-<wbr>with-the-multi.html</a><br></div><div><br></div><div>For our team this bug has caused problems when testing LLD. We suggest the removal of this MSVC specific functionality in "llvm::parallel" until a fix is made or alternative found. This could be easily swapped to use the existing standard library implementation in the meantime.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Owen Reynolds</div><div><br></div><div><br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>