Go to file
Eric Fiselier bf9653d85f [libcxx] Add code coverage configuration to CMake and LIT.
Summary:
This patch adds configuration to CMake and LIT for running the libc++ test-suite to generate code coverage.

To use code coverage use following instructions.

* Find the clang resource dir using `$CXX -print-search-dirs`. Let <library-dir> be the first library search directory.
* `cmake <regular-options> -DLIBCXX_GENERATE_COVERAGE=ON -DLIBCXX_COVERAGE_LIBRARY=<library-dir>/lib/<platform>/libclang_rt.profile.a <source>`
* `make cxx`
* `make check-libcxx`
* `make generate-libcxx-coverage`


The reason I want this patch upstreamed is so I can setup a bot that generates code coverage and posts in online for every revision. 



Reviewers: mclow.lists, jroelofs, danalbert

Reviewed By: danalbert

Differential Revision: http://reviews.llvm.org/D8716

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@233669 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-31 04:15:45 +00:00
cmake [libcxx] Add code coverage configuration to CMake and LIT. 2015-03-31 04:15:45 +00:00
include [libcxx] Fix PR22771 - Support access control SFINAE in the library version of is_convertible. 2015-03-30 15:22:20 +00:00
lib [libcxx] Add code coverage configuration to CMake and LIT. 2015-03-31 04:15:45 +00:00
src Make the presence of stdin and stdout optional. 2015-03-26 14:35:46 +00:00
test [libcxx] Add code coverage configuration to CMake and LIT. 2015-03-31 04:15:45 +00:00
utils cleanup comments in sym_check 2015-03-27 06:04:37 +00:00
www [libcxx] Unify LIBCXX_<ABI-Name>_INCLUDE_PATHS to be LIBCXX_CXX_ABI_INCLUDE_PATHS 2015-03-19 20:59:45 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
.gitignore [libc++] Refactor test components into modules. 2015-01-09 18:03:29 +00:00
CMakeLists.txt [libcxx] Add code coverage configuration to CMake and LIT. 2015-03-31 04:15:45 +00:00
CREDITS.TXT Add self to CREDITS.txt 2015-02-26 00:48:22 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 20:13:11 +00:00
Makefile Revert "Fix installheaders target's permissions" 2014-12-16 05:28:07 +00:00