| commit | ca7fcf235488b5628ac35167f7c9dd9cdaad89a9 | [log] [tgz] |
|---|---|---|
| author | Alexey Samsonov <samsonov@google.com> | Wed Dec 19 12:33:39 2012 +0000 |
| committer | Alexey Samsonov <samsonov@google.com> | Wed Dec 19 12:33:39 2012 +0000 |
| tree | 4e3853c64d17a2eb01864f789266f3918cb29011 | |
| parent | 00e7a119047e6ddb80f3a2dec50ad8c4e5f0e139 [diff] |
Significantly change the way we build ASan unittests in CMake
build tree. Now just-built Clang is used to:
1) compile instrumented sources (as before);
2) compile non-instrumented sources;
3) compile our own instrumented version of googletest;
4) link it all together using -fsanitize=address flag
(instead of trying to copy linker behavior in
CMake build rules).
This makes ASan unittests pretty much self-consistent
and independent of other LLVM libraries.
llvm-svn: 170541