tester/covoar: Fix clang compile errors, revert uneeded changes

This commit is contained in:
Chris Johns 2021-09-03 14:43:47 +10:00
parent 2cf693aee9
commit b4245dd209
2 changed files with 14 additions and 17 deletions

View File

@ -686,11 +686,8 @@ namespace rld
pc_low_ (0),
pc_high_ (0),
ranges_ (debug),
name_ (),
linkage_name_ (),
decl_file_ (),
decl_line_ (0),
call_file_ (),
call_line_ (0)
{
dwarf_bool db;

View File

@ -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;