diff options
author | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-12-03 00:15:49 +0000 |
---|---|---|
committer | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-12-03 00:15:49 +0000 |
commit | c4b184e229aaa35c2c7b1463a22d6fd4c9f81aec (patch) | |
tree | 3cc7087b6f2bf8a6159f537d5968565e909afe82 /include | |
parent | 44de223927a6d32f599574b4d10093ce041c1acd (diff) | |
download | llvm-c4b184e229aaa35c2c7b1463a22d6fd4c9f81aec.tar.gz llvm-c4b184e229aaa35c2c7b1463a22d6fd4c9f81aec.tar.bz2 llvm-c4b184e229aaa35c2c7b1463a22d6fd4c9f81aec.tar.xz |
llvm-cov: Split up reading of GCNO and GCDA files.
There are now two functions: readGCNO() and readGCDA().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/GCOV.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/GCOV.h b/include/llvm/Support/GCOV.h index 7ba4acb1ae..9649a1dad3 100644 --- a/include/llvm/Support/GCOV.h +++ b/include/llvm/Support/GCOV.h @@ -210,7 +210,8 @@ class GCOVFunction { public: GCOVFunction() : Ident(0), LineNumber(0) {} ~GCOVFunction(); - bool read(GCOVBuffer &Buffer, GCOV::GCOVFormat Format); + bool readGCNO(GCOVBuffer &Buffer, GCOV::GCOVFormat Format); + bool readGCDA(GCOVBuffer &Buffer, GCOV::GCOVFormat Format); StringRef getFilename() const { return Filename; } void dump() const; void collectLineCounts(FileInfo &FI); |