https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96534

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to xlwu from comment #5)
> A bug found in the JSON format:
> 
> in the lines.count and functions.execute_count fields, when the number is
> extremely large , it will be shown as something like:  8.12123199e+08 , even
> become a minus number , like -8.1332322e+08 . this is not a legal JSON
> format , when I try to unmarshel in golang , it just crash, I believe other
> language will crash too

That should be fixed in r10-4051-g076222782e4558e0bd22711c6fdcc0faf0882daf and
part of GCC 10.x release. Can you please verify that?

> 
> another question is:  in our environment , the gcda and gcno files are not
> under same dir

How that happens?

> , to run the gcov , I had to copy them into a temp dir , is
> it possible to provide options to give the gcda and gcno path in command
> line?

Right now, it's not possible. Can you please experiment with -o option?

Reply via email to