summaryrefslogtreecommitdiffstats
path: root/tester/covoar/GcovData.cc
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-09-03 14:43:47 +1000
committerChris Johns <chrisj@rtems.org>2021-09-03 14:43:47 +1000
commitb4245dd209c6ba4b10392c857f97e7edb4c975ec (patch)
treea18403b0922ba388d258a031e286fb116cd5d61c /tester/covoar/GcovData.cc
parentrld-dwarf.cpp: Initialize member variables (diff)
downloadrtems-tools-b4245dd209c6ba4b10392c857f97e7edb4c975ec.tar.bz2
tester/covoar: Fix clang compile errors, revert uneeded changes
Diffstat (limited to 'tester/covoar/GcovData.cc')
-rw-r--r--tester/covoar/GcovData.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/tester/covoar/GcovData.cc b/tester/covoar/GcovData.cc
index d360a77..397c20d 100644
--- a/tester/covoar/GcovData.cc
+++ b/tester/covoar/GcovData.cc
@@ -95,20 +95,20 @@ namespace Gcov {
bool GcovData::writeGcdaFile()
{
- gcov_preamble preamble;
- gcov_frame_header header;
- std::ofstream gcdaFile;
- functions_iterator_t currentFunction;
- arcs_iterator_t currentArc;
- uint32_t buffer;
- uint32_t countersFound;
- uint32_t countersFoundSum;
- uint64_t countersSum;
- uint64_t countersMax;
- uint64_t llBuffer[4096]; // TODO: Use common buffer
- gcov_statistics objectStats;
- gcov_statistics programStats;
- long int bytes_before;
+ gcov_preamble preamble;
+ gcov_frame_header header;
+ std::ofstream gcdaFile;
+ functions_iterator_t currentFunction;
+ arcs_iterator_t currentArc;
+ uint32_t buffer;
+ uint32_t countersFound;
+ uint32_t countersFoundSum;
+ uint64_t countersSum;
+ uint64_t countersMax;
+ uint64_t llBuffer[4096]; // TODO: Use common buffer
+ gcov_statistics objectStats;
+ gcov_statistics programStats;
+ std::ofstream::pos_type bytes_before;
// Debug message
//std::cerr << "Writing file: " << gcdaFileName << std::endl;