title: Application crashes when using address sanitizer with MSVC
body: <p>I am trying to use address sanitizer with MSVC.</p>
  <p>Visual Studio Installer says I have &quot;Visual Studio Community 2019&quot; version 16.9.0.</p>
  <p>I have the most basic C++ program:</p>
  <pre class="lang-cpp prettyprint-override"><code>int main() {
      return 0;
  }
  </code></pre>
  <p>The CMakeLists.txt is also very basic:</p>
  <pre><code>cmake_minimum_required(VERSION 3.14)
  project(untitled VERSION 1.0.0)
  add_executable(${PROJECT_NAME} main.cpp)
  add_definitions(/fsanitize=address /Zi)
  </code></pre>
  <p>The program compiles and links correctly, both in debug and release mode. In release mode, I have the following warning, which seems perfectly legit:</p>
  <blockquote>
  <p>LINK : warning LNK4302: please add '/DEBUG' to the link command line for better ASAN error reporting</p>
  </blockquote>
  <p>So far, so good (?).</p>
  <p>However, when I run the application, the return code is -1073741515 (0xC0000135). Google tells me this is likely to indicate a missing library.</p>
  <p>If I remove <code>add_definitions(/fsanitize=address /Zi)</code> from the build, the return is 0. The missing library is very likely the address sanitizer itself.</p>
  <p>How can I configure my system properly to solve this issue? Thanks!</p>