LCOV - code coverage report
Current view: top level - gcc - optinfo-emit-json.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 94.4 % 231 218
Test Date: 2024-12-21 13:15:12 Functions: 100.0 % 16 16
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
_ZN8selftest26optinfo_emit_json_cc_testsEv 4
_ZN8selftestL34test_building_json_from_dump_callsEv 4
_ZNK21optrecord_json_writer5writeEv 41
_ZN21optrecord_json_writerC2Ev 1288
_ZN21optrecord_json_writerD2Ev 1288
_ZN21optrecord_json_writer9pop_scopeEv 4177
_ZN21optrecord_json_writer22inlining_chain_to_jsonEm 29244
_ZN21optrecord_json_writer13add_pass_listEPN4json5arrayEP8opt_pass 32200
_ZN21optrecord_json_writer16location_to_jsonEm 35387
_ZN21optrecord_json_writer21profile_count_to_jsonE13profile_count 49829
_ZN21optrecord_json_writer10add_recordEPK7optinfo 49885
_ZN21optrecord_json_writer10add_recordEPN4json6objectE 49885
_ZN21optrecord_json_writer15optinfo_to_jsonEPK7optinfo 49889
_ZN21optrecord_json_writer21impl_location_to_jsonE20dump_impl_location_t 49889
_ZN21optrecord_json_writer12pass_to_jsonEP8opt_pass 497168
_ZN21optrecord_json_writer21get_id_value_for_passEP8opt_pass 544525

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.