1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-cov/Inputs
Yuchen Wu 734fa40b2a llvm-cov: Added file checksum to gcno and gcda files.
Instead of permanently outputting "MVLL" as the file checksum, clang
will create gcno and gcda checksums by hashing the destination block
numbers of every arc. This allows for llvm-cov to check if the two gcov
files are synchronized.

Regenerated the test files so they contain the checksum. Also added
negative test to ensure error when the checksums don't match.

llvm-svn: 195191
2013-11-20 04:15:05 +00:00
..
README Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +00:00
test_checksum_mismatch.gcda llvm-cov: Added file checksum to gcno and gcda files. 2013-11-20 04:15:05 +00:00
test_read_fail.gcno llvm-cov: Added file checksum to gcno and gcda files. 2013-11-20 04:15:05 +00:00
test.cpp Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +00:00
test.cpp.gcov Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +00:00
test.gcda llvm-cov: Added file checksum to gcno and gcda files. 2013-11-20 04:15:05 +00:00
test.gcno llvm-cov: Added file checksum to gcno and gcda files. 2013-11-20 04:15:05 +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