mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 22:07:27 +00:00
d23c759c0f
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195191 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
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