llvm-cov: Split GCOVFile's read into GCNO and GCDA.
authorYuchen Wu <yuchenericwu@hotmail.com>
Wed, 4 Dec 2013 04:49:23 +0000 (04:49 +0000)
committerYuchen Wu <yuchenericwu@hotmail.com>
Wed, 4 Dec 2013 04:49:23 +0000 (04:49 +0000)
commit812ad83e58f94c006034b942b9482ec1331ae3a2
treeccd2f2f07e4a50c86c57d61cf1838889c90ffcb9
parent045d5475166b75480ff954a5a9bb850f09d29494
llvm-cov: Split GCOVFile's read into GCNO and GCDA.

This splits the file-scope read() function into readGCNO() and
readGCDA(). Also broke file format read into functions that first read
the file type, then check the version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196353 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GCOV.h
lib/IR/GCOV.cpp
tools/llvm-cov/llvm-cov.cpp