[llvm-commits] [PATCH] Rework CMake rules for building ASan unittests

Alexey Samsonov samsonov at google.com
Thu Dec 6 18:10:35 PST 2012


Hi chandlerc, eugenis,

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 unittest pretty much self-consistent
and independent of other LLVM libraries.

http://llvm-reviews.chandlerc.com/D188

Files:
  lib/asan/tests/CMakeLists.txt
  CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D188.1.patch
Type: text/x-patch
Size: 10400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121206/f2eecda6/attachment.bin>


More information about the llvm-commits mailing list