forked from OSchip/llvm-project
parent
1e6ee351fc
commit
eec5c5bf6e
|
@ -35,7 +35,7 @@ enum GCOVFormat {
|
||||||
GCDA_404
|
GCDA_404
|
||||||
};
|
};
|
||||||
|
|
||||||
/// GCOVBuffer - A wrapper around MemoryBuffer to provid GCOV specific
|
/// GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific
|
||||||
/// read operations.
|
/// read operations.
|
||||||
class GCOVBuffer {
|
class GCOVBuffer {
|
||||||
public:
|
public:
|
||||||
|
@ -152,7 +152,8 @@ private:
|
||||||
uint64_t Cursor;
|
uint64_t Cursor;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// GCOVFile - Collects file information.
|
/// GCOVFile - Collects coverage information for one pair of coverage file
|
||||||
|
/// (.gcno and .gcda).
|
||||||
class GCOVFile {
|
class GCOVFile {
|
||||||
public:
|
public:
|
||||||
GCOVFile() {}
|
GCOVFile() {}
|
||||||
|
@ -218,7 +219,6 @@ private:
|
||||||
StringMap<LineCounts> LineInfo;
|
StringMap<LineCounts> LineInfo;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -40,7 +40,6 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
cl::ParseCommandLineOptions(argc, argv, "llvm cov\n");
|
cl::ParseCommandLineOptions(argc, argv, "llvm cov\n");
|
||||||
|
|
||||||
|
|
||||||
GCOVFile GF;
|
GCOVFile GF;
|
||||||
if (InputGCNO.empty())
|
if (InputGCNO.empty())
|
||||||
errs() << " " << argv[0] << ": No gcov input file!\n";
|
errs() << " " << argv[0] << ": No gcov input file!\n";
|
||||||
|
|
Loading…
Reference in New Issue