llvm-cov: Added support for function checksums.
authorYuchen Wu <yuchenericwu@hotmail.com>
Wed, 4 Dec 2013 06:00:17 +0000 (06:00 +0000)
committerYuchen Wu <yuchenericwu@hotmail.com>
Wed, 4 Dec 2013 06:00:17 +0000 (06:00 +0000)
commit2ebea72474874e5a437eca994ca4d649d8234744
treef4889e60d1ce3c6f437ad03ad6515081bb098466
parent45a5b27d9be7d0707a1fb15fc7e512a39feb95a7
llvm-cov: Added support for function checksums.

The function checksums are hashed from the concatenation of the function
name and line number.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196358 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GCOV.h
lib/IR/GCOV.cpp
lib/Transforms/Instrumentation/GCOVProfiling.cpp
test/tools/llvm-cov/Inputs/test.gcda
test/tools/llvm-cov/Inputs/test.gcno
test/tools/llvm-cov/Inputs/test_checksum_mismatch.gcda [deleted file]
test/tools/llvm-cov/Inputs/test_file_checksum_fail.gcda [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test_func_checksum_fail.gcda [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test_read_fail.gcno
test/tools/llvm-cov/llvm-cov.test