mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
734fa40b2a
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 |
||
---|---|---|
.. | ||
README | ||
test_checksum_mismatch.gcda | ||
test_read_fail.gcno | ||
test.cpp | ||
test.cpp.gcov | ||
test.gcda | ||
test.gcno |
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