1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
Yuchen Wu 957d104b63 Added basic unit test for llvm-cov.
This test compares the output of llvm-cov against a coverage file
generated by gcov. Currently, llvm-cov does not work on certain
platforms (namely big-endian architectures such as PowerPC, among
others). These platforms are marked as XFAIL for now, but will be fixed
later.

llvm-svn: 194616
2013-11-13 22:50:15 +00:00
..
2013-11-13 22:50:15 +00:00
2013-11-13 22:50:15 +00:00
2013-11-13 22:50:15 +00:00
2013-11-13 22:50:15 +00:00

These inputs were pre-generated to allow for easier testing of llvm-cov.

test.gcno and test.gcda were create by running clang:
  clang++ -g -ftest-coverage -fprofile-arcs test.cpp

test.cpp.gcov was created by running gcov 4.2.1:
  gcov test.cpp