aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.cc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2023-04-06 11:54:51 +0200
committerMartin Liska <mliska@suse.cz>2023-04-25 13:11:29 +0200
commit171fe0681ef91ecf29164d278ca5b064a6056f80 (patch)
treea3c8fcb2126373d995b6e8a86a42b0ddda71ce44 /gcc/predict.cc
parentdee5cef280d6c6da92b56cc0dc2158761c266992 (diff)
downloadgcc-171fe0681ef91ecf29164d278ca5b064a6056f80.zip
gcc-171fe0681ef91ecf29164d278ca5b064a6056f80.tar.gz
gcc-171fe0681ef91ecf29164d278ca5b064a6056f80.tar.bz2
gcov: add info about "calls" to JSON output format
gcc/ChangeLog: * doc/gcov.texi: Document the new "calls" field and document the API bump. Mention also "block_ids" for lines. * gcov.cc (output_intermediate_json_line): Output info about calls and extend branches as well. (generate_results): Bump version to 2. (output_line_details): Use block ID instead of a non-sensual index. gcc/testsuite/ChangeLog: * g++.dg/gcov/gcov-17.C: Add call to a noreturn function. * g++.dg/gcov/test-gcov-17.py: Cover new format. * lib/gcov.exp: Add options for gcov that emit the extra info.
Diffstat (limited to 'gcc/predict.cc')
0 files changed, 0 insertions, 0 deletions