<div dir="ltr">Hi all,<div><br></div><div>I&#39;ve been testing out the Windows build in release mode.</div><div><br></div><div>An exception is thrown from the MSVC standard library compiling the swift stdlib in release mode instead of debug mode using clang-cl or MSVC, so I wanted to see what&#39;s going on.</div><div><br></div><div>To get swift.exe to link in release mode, I also need to build LLVM in release mode.</div><div><br></div><div>I&#39;ve tried doing this, but get several linker errors linking every single executable in the project:</div><div><br>Examples are:</div><div><br></div><div>`llvm::Value::dump()`</div><div>`SubMultiClassReference::dump()`</div><div><br></div><div>and a couple more.</div><div><br></div><div>Some of these examples have changed in upstream LLVM, but the changes are too complicated to pull into swift-llvm unfortunately.</div><div><br></div><div>I was surprised - has anyone tried building swift-llvm&#39;s swift-4.0-branch in Release mode? Isn&#39;t this necessary to build Swift in release mode?</div><div><br></div><div>Thanks,</div><div>Hugh</div></div>