llvm-project/libcxx/lib
Eric Fiselier 78fdf2d0f5 [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

llvm-svn: 233669
2015-03-31 04:15:45 +00:00
..
CMakeLists.txt [libcxx] Add code coverage configuration to CMake and LIT. 2015-03-31 04:15:45 +00:00
buildit Not everyone uses bash, so fix test syntax. 2014-04-12 21:12:55 +00:00
libc++abi.exp Add typeinfo for char16_t, char32_t and nullptr. 2010-12-03 17:25:24 +00:00
libc++abi2.exp At least temporarily move operator new/delete from the abi back to here. I'm having trouble reexporting it as a weak symbol. 2012-02-25 21:36:01 +00:00
libc++sjlj-abi.exp on Darwin re-export C++0x type infos 2011-05-24 20:26:04 +00:00
libc++unexp.exp Effort to reduce the number of exported symbols 2010-12-17 14:46:43 +00:00
notweak.exp
weak.exp Fix <rdar://problem/10136825> 2011-10-04 23:11:56 +00:00