Using the following set of commands I get a compiler crash in astcontext.cpp from VS2015.
svn co http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_370/final/ llvm
cd llvm\tools
svn co http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_370/final/ clang
cd clang\tools
svn co http://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_370/final/ extra
cd …......
mkdir build
cd build
cmake -G “Visual Studio 14” …\llvm
“C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe” LLVM.sln /build Release
It builds successfully in Debug mode, but Release mode crashes. I have filed a bug with Microsoft here:
https://connect.microsoft.com/VisualStudio/feedback/details/1741530