<div>Hi!</div><div><br></div><div>This patch adds the basic support for running ASan unit tests (compiled in a very hacky way) by llvm-lit tool, as a part of "make check-asan" command from build tree.</div><div>Even though all tests are linked into a single "AsanTest" binary, they are sharded by llvm-lit tool and 119 tests pass in 6.47 seconds on my workstation (in 12 threads).</div>
<div>The patch also disables ASan output tests (that use clang compiler from build tree) for cross-compilation.</div><div><br></div>Code review: <a href="http://codereview.appspot.com/6454079/">http://codereview.appspot.com/6454079/</a><br clear="all">
<div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>