LCOV - code coverage report
Current view: top level - gcc - pretty-print.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 88.3 % 1758 1553
Test Date: 2025-08-30 13:27:53 Functions: 86.3 % 131 113
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
_Z10pp_newlineP14pretty_printer 8092180
_Z11pp_printf_nP14pretty_printermPKcS2_z 1593
_Z11pp_string_nP14pretty_printerPKcm 1224
_Z11pp_verbatimP14pretty_printerPKcz 64438
_Z12pp_characterP14pretty_printeri 419034567
_Z12pp_end_quoteP14pretty_printerb 1124897
_Z14pp_append_textP14pretty_printerPKcS2_ 755296028
_Z14pp_begin_quoteP14pretty_printerb 1105702
_Z14pp_take_prefixP14pretty_printer 393202
_Z15pp_really_flushP14pretty_printer 7215
_Z15pp_wide_integerILj1ElEvP14pretty_printerRK8poly_intIXT_ET0_E 950462
_Z15pp_wide_integerILj1ElEvP14pretty_printerRK8poly_intIXT_ET0_E 0
_Z15pp_wide_integerILj1EmEvP14pretty_printerRK8poly_intIXT_ET0_E 950377
_Z15pp_wide_integerILj1EtEvP14pretty_printerRK8poly_intIXT_ET0_E 85
_Z16pp_separate_withP14pretty_printerc 44478804
_Z17pp_destroy_prefixP14pretty_printer 1213212
_Z17pp_formatted_textP14pretty_printer 214843127
_Z18pp_format_verbatimP14pretty_printerP9text_info 64438
_Z20identifier_to_localePKc 549961856
_Z20pp_clear_output_areaP14pretty_printer 202938053
_Z20pp_newline_and_flushP14pretty_printer 3321845
_Z20pp_unicode_characterP14pretty_printerj 13174393
_Z21default_token_printerP14pretty_printerRK13pp_token_list 2282074
_Z21pp_newline_and_indentP14pretty_printeri 6896
_Z23pp_write_text_to_streamP14pretty_printer 8553231
_Z24pp_last_position_in_textPK14pretty_printer 333918451
_Z24pp_output_formatted_textP14pretty_printerPK8urlifier 12514680
_Z26pp_set_line_maximum_lengthP14pretty_printeri 102387
_Z36pp_write_text_as_dot_label_to_streamP14pretty_printerb 2834
_Z40pp_write_text_as_html_like_dot_to_streamP14pretty_printer 651
_Z8pp_flushP14pretty_printer 9463747
_Z9pp_indentP14pretty_printer 21997
_Z9pp_printfP14pretty_printerPKcz 650490
_Z9pp_stringP14pretty_printerPKc 740537576
_ZL12pp_wrap_textP14pretty_printerPKcS2_ 24
_ZL13print_hexdumpP8_IO_FILEiPKvm 0
_ZL14format_phase_1RK9text_infoR7obstackPP13pp_token_listPS6_ 12514680
_ZL14format_phase_2P14pretty_printerR9text_infoR7obstackPPP13pp_token_list 12514680
_ZL15allocate_objectmR7obstack 100324105
_ZL16decode_utf8_charPKhmPj 4029718596
_ZL16pp_quoted_stringP14pretty_printerPKcm 683648
_ZL18get_end_url_stringP14pretty_printer 84
_ZL18pp_maybe_wrap_textP14pretty_printerPKcS2_ 741222517
_ZL18print_hexdump_lineP8_IO_FILEiPKvmm 0
_ZL18push_back_any_textP13pp_token_listP7obstack 55679845
_ZL24get_url_format_as_string21diagnostic_url_format 0
_ZN13output_buffer20pop_formatted_chunksEv 12514680
_ZN13output_buffer21push_formatted_chunksEv 12514680
_ZN13output_bufferC2Ev 663415463
_ZN13output_bufferD2Ev 662584613
_ZN13pp_token_list12insert_afterESt10unique_ptrI8pp_tokenSt14default_deleteIS1_EEPS1_ 36906
_ZN13pp_token_list12remove_tokenEP8pp_token 12634443
_ZN13pp_token_list14apply_urlifierERK8urlifier 1529398
_ZN13pp_token_list14push_back_byteEc 0
_ZN13pp_token_list14push_back_listEOS_ 34695934
_ZN13pp_token_list14push_back_textEO10label_text 55733398
_ZN13pp_token_list21replace_custom_tokensEv 12514680
_ZN13pp_token_list29merge_consecutive_text_tokensEv 12514684
_ZN13pp_token_list9pop_frontEv 68252441
_ZN13pp_token_list9push_backESt10unique_ptrI8pp_tokenSt14default_deleteIS1_EE 80740496
_ZN13pp_token_listC2EOS_ 0
_ZN13pp_token_listC2ER7obstack 64537408
_ZN13pp_token_listD2Ev 64537408
_ZN13pp_token_listdlEPv 48365844
_ZN13pp_token_listnwEmR7obstack 48365844
_ZN14pretty_printer10set_prefixEPc 665870284
_ZN14pretty_printer11emit_prefixEv 294194543
_ZN14pretty_printer11maybe_spaceEv 548033
_ZN14pretty_printer23set_real_maximum_lengthEv 665972671
_ZN14pretty_printer34remaining_character_count_for_lineEv 452
_ZN14pretty_printer6formatER9text_info 12514680
_ZN14pretty_printer7end_urlEv 18507
_ZN14pretty_printer9begin_urlEPKc 18483
_ZN14pretty_printerC2ERKS_ 1277955
_ZN14pretty_printerC2Ei 662041384
_ZN14pretty_printerD0Ev 663189075
_ZN14pretty_printerD0Ev 698643
_ZN14pretty_printerD2Ev 662490432
_ZN19pp_formatted_chunks22append_formatted_chunkER7obstackPKc 74
_ZN8pp_tokenC2ENS_4kindE 47263323
_ZN8pp_tokendlEPv 47263323
_ZN8pp_tokennwEmR7obstack 47263323
_ZN8selftest19test_pretty_printerC2E27diagnostic_prefixing_rule_ti 24
_ZN8selftest21pretty_print_cc_testsEv 4
_ZN8selftestL14push_pp_formatEP14pretty_printerPKcz 8
_ZN8selftestL14test_null_urlsEv 4
_ZN8selftestL14test_pp_formatEv 4
_ZN8selftestL16assert_pp_formatERKNS_8locationEPKcS4_z 236
_ZN8selftestL17test_urlificationEv 4
_ZN8selftestL19assert_pp_format_vaERKNS_8locationEPKcbS4_PA1_13__va_list_tag 241
_ZN8selftestL19test_basic_printingEv 4
_ZN8selftestL20test_custom_tokens_1Ev 4
_ZN8selftestL20test_custom_tokens_2Ev 4
_ZN8selftestL20test_pp_format_stackEv 4
_ZN8selftestL21test_urls_from_bracesEv 4
_ZN8selftestL23pp_printf_with_urlifierEP14pretty_printerPK8urlifierPKcz 48
_ZN8selftestL24assert_pp_format_coloredERKNS_8locationEPKcS4_z 20
_ZN8selftestL26test_prefixes_and_wrappingEv 4
_ZN8selftestL32test_pp_printf_within_pp_elementEv 4
_ZN8selftestL34test_merge_consecutive_text_tokensEv 4
_ZN8selftestL35test_comma_separated_quoted_stringsEv 4
_ZN8selftestL9test_urlsEv 4
_ZN8selftestL9test_utf8Ev 4
_ZN9pp_markup30comma_separated_quoted_strings14add_to_phase_2ERNS_7contextE 179
_ZN9pp_markup7context11begin_quoteEv 8491
_ZN9pp_markup7context12add_event_idE21diagnostic_event_id_t 0
_ZN9pp_markup7context18push_back_any_textEv 32253
_ZN9pp_markup7context19end_highlight_colorEv 8052
_ZN9pp_markup7context21begin_highlight_colorEPKc 8052
_ZN9pp_markup7context7end_urlEv 0
_ZN9pp_markup7context9begin_urlEPKc 0
_ZN9pp_markup7context9end_quoteEv 8491
_ZN9text_info12set_locationEjm18range_display_kind 1201309
_ZNK13output_buffer4dumpEP8_IO_FILEi 0
_ZNK13pp_token_list4dumpEP8_IO_FILE 0
_ZNK14pretty_printer4dumpEP8_IO_FILEi 0
_ZNK14pretty_printer5cloneEv 797874
_ZNK19pp_formatted_chunks4dumpEP8_IO_FILEi 0
_ZNK8pp_token4dumpEP8_IO_FILE 0
_ZNK9text_info12get_locationEj 95035165
_ZZN8selftestL17test_urlificationEvENK13test_urlifier23get_url_for_quoted_textEPKcm 72
_ZZN8selftestL20test_custom_tokens_1EvEN18custom_token_adder14add_to_phase_2ERN9pp_markup7contextE 8
_ZZN8selftestL20test_custom_tokens_1EvEN18custom_token_adder5value18as_standard_tokensER13pp_token_list 8
_ZZN8selftestL20test_custom_tokens_1EvEN18custom_token_adder5valueD0Ev 8
_ZZN8selftestL20test_custom_tokens_1EvEN18custom_token_adder5valueD0Ev 8
_ZZN8selftestL20test_custom_tokens_1EvEN18custom_token_adder5valueD2Ev 0
_ZZN8selftestL20test_custom_tokens_1EvENK18custom_token_adder5value4dumpEP8_IO_FILE 0
_ZZN8selftestL20test_custom_tokens_2EvEN18custom_token_adder14add_to_phase_2ERN9pp_markup7contextE 8
_ZZN8selftestL20test_custom_tokens_2EvEN18custom_token_adder5value18as_standard_tokensER13pp_token_list 8
_ZZN8selftestL20test_custom_tokens_2EvEN18custom_token_adder5valueD0Ev 8
_ZZN8selftestL20test_custom_tokens_2EvEN18custom_token_adder5valueD0Ev 8
_ZZN8selftestL20test_custom_tokens_2EvEN18custom_token_adder5valueD2Ev 0
_ZZN8selftestL20test_custom_tokens_2EvEN20custom_token_printer12print_tokensEP14pretty_printerRK13pp_token_list 4
_ZZN8selftestL20test_custom_tokens_2EvENK18custom_token_adder5value4dumpEP8_IO_FILE 0
_ZZN8selftestL32test_pp_printf_within_pp_elementEvEN10kv_element14add_to_phase_2ERN9pp_markup7contextE 10

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.