Skip to content

Commit

Permalink
Quote function_name for c++filt
Browse files Browse the repository at this point in the history
  • Loading branch information
wsnyder authored and RPGillespie6 committed Jul 28, 2024
1 parent 8d91987 commit 900877e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastcov.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ def distillLine(line_raw, lines, branches, include_exceptional_branches):
count = int(line_raw["count"])
if count < 0:
if "function_name" in line_raw:
logging.warning("Ignoring negative count found in %s.", line_raw["function_name"])
logging.warning("Ignoring negative count found in '%s'.", line_raw["function_name"])
else:
logging.warning("Ignoring negative count.")
count = 0
Expand Down

0 comments on commit 900877e

Please sign in to comment.