I'm using the amd64_x86 toolchain.  They're supposed to be identical so that's unlikely to be the problem, but it's the only difference i can see.  Let me know what happens on your clean rebuild <br><div class="gmail_quote"><div dir="ltr">On Fri, Mar 18, 2016 at 7:56 AM Cameron <<a href="mailto:cameron@moodycamel.com">cameron@moodycamel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">cameron314 added a comment.<br>
<br>
Since it works without my patch, you're probably right about it being related to the UNICODE define. All the other changes are completely removed from that part of the code. But I still don't see how it could affect that.<br>
<br>
Here's the script I use to run cmake:<br>
<br>
  setlocal<br>
  set PATH=%ProgramFiles%\Ninja;%ProgramFiles(x86)%\CMake\bin;%SYSTEMROOT%\system32;%SYSTEMROOT%;%SWIGDIR%<br>
  call "%VS140COMNTOOLS%\vsvars32.bat"<br>
  mkdir VS2015Debug<br>
  cd VS2015Debug<br>
  cmake -G "Ninja" -DLLVM_BUILD_EXAMPLES:BOOL=false -DPYTHON_HOME="C:\Python35" -DLLDB_DISABLE_PYTHON:BOOL=false -DLLDB_TEST_COMPILER=%cd%\bin\clang.exe -DCMAKE_BUILD_TYPE=Debug ..<br>
  cd ..<br>
  mkdir VS2015Release<br>
  cd VS2015Release<br>
  cmake -G "Ninja" -DLLVM_BUILD_EXAMPLES:BOOL=false -DPYTHON_HOME="C:\Python35" -DLLDB_DISABLE_PYTHON:BOOL=false -DLLDB_TEST_COMPILER=%cd%\bin\clang.exe -DCMAKE_BUILD_TYPE=Release ..<br>
  cd ..<br>
  endlocal<br>
<br>
This is with VS2015 update 1. And it's already the x86 version, the patch has diverged significantly from what we have locally (which is based on a snapshot from several weeks ago) so I've been using the tip as-is :-)<br>
<br>
I'm trying a fresh Debug build from scratch (deleting and re-creating the cmake build folder). I'll report back when it's done.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D17107" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17107</a><br>
<br>
<br>
<br>
</blockquote></div>