Skip to content

Commit

Permalink
Release v42
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed Aug 18, 2023
1 parent 81e7247 commit 3a8c546
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
Kcov (42):
* Issue #317: Correct handling of large amounts of solib data (Steven Lu)

* Issue #399: Suppor for the LoongArch architecture (Feiyang Chen)

* Issue #397: Correct symlinks if the out-directory is a relative path (Hanaasagi)

* OSX: Replace the lldb-engine/parser with a macho-parser and a mach-engine
for improved performance (~20x) (Simon Kagstrom)

-- Simon Kagstrom <[email protected]>
-- Simon Kagstrom <[email protected]>, Fri Aug 18 20:38:38 CEST 2023

Kcov (41):
* Output the codecov file format (Nate Gallaher)
Expand Down
8 changes: 7 additions & 1 deletion src/reporter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ class Reporter : public IReporter,

~Reporter()
{
writeCoverageDatabase();
if (IConfiguration::getInstance().keyAsInt("running-mode") !=
IConfiguration::MODE_REPORT_ONLY)
{
writeCoverageDatabase();
}

for (FileMap_t::const_iterator it = m_files.begin(); it != m_files.end(); ++it)
{
Expand Down Expand Up @@ -415,6 +419,8 @@ class Reporter : public IReporter,
{
AddrToLineMap_t::iterator it = m_addrToLine.find(addr);

// kcov_debug(INFO_MSG, "%p (bef) REPORT hit at 0x%llx, %d lines\n", this, (unsigned long long)addr, m_addrToLine.size());

if (it == m_addrToLine.end())
return;

Expand Down

0 comments on commit 3a8c546

Please sign in to comment.