When using a demangler on Windows, the output of llvm-cov might look like this:
------------------
: | int TemplateDemo<1>()
| 10| 2|{or like this (if it is stored into a file and then viewed in an editor):
------------------
| int TemplateDemo<1>()
:
| 10| 2|{It results from splitting the demangler's output by \n, which keeps \r at the end of each symbol. This patch solves the issue by trimming strings of demangled symbols.