LCOV - code coverage report
Current view: top level - gcc/rust/lex - rust-lex.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 93.9 % 1364 1281
Test Date: 2026-09-19 16:22:48 Functions: 94.4 % 54 51
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_ZN4Rust14is_float_digitEj 0
_ZN4Rust5Lexer21replace_current_tokenESt10shared_ptrINS_5TokenEE 0
_ZN4Rust5Lexer24skip_broken_string_inputENS_9CodepointE 0
_ZN8selftest22rust_input_source_testEv 1
_ZN4Rust5Lexer19split_current_tokenESt6vectorISt10shared_ptrINS_5TokenEESaIS4_EE 2
_ZN8selftestL22test_file_input_sourceENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIjSaIjEE 2
_ZN8selftestL24test_buffer_input_sourceENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIjSaIjEE 4
_ZN8selftestL21assert_source_contentERN4Rust11InputSourceERKSt6vectorIjSaIjEE 6
_ZN4Rust5Lexer14parse_c_stringEm 15
_ZN4Rust5Lexer16parse_raw_stringEmi 31
_ZN4Rust5Lexer21parse_raw_byte_stringEm 32
_ZN4Rust5Lexer24parse_partial_hex_escapeEv 52
_ZN4Rust5Lexer13dump_and_skipEi 55
_ZN4Rust14is_octal_digitEj 87
_ZN4Rust5Lexer20parse_raw_identifierEm 88
_ZN4Rust5Lexer12parse_escapeEc 90
_ZN4Rust5Lexer17parse_byte_stringEm 121
_ZN4Rust5LexerC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP7Linemap 143
_ZN4Rust5Lexer29parse_partial_string_continueEv 191
_ZN4Rust5Lexer15parse_byte_charEm 204
_ZN4Rust5Lexer19split_current_tokenENS_7TokenIdES1_ 611
_ZN4Rust5Lexer22parse_in_exponent_partB5cxx11Ev 3545
_ZN4Rust5Lexer29parse_non_decimal_int_literalIPFbjEEESt10shared_ptrINS_5TokenEEmT_NS_18IntegerLiteralBaseE 4646
_ZN4Rust5Lexer30parse_non_decimal_int_literalsEm 4646
_ZN4Rust5Lexer26input_source_is_valid_utf8Ev 5117
_ZN4Rust5LexerC2EPKcNS_8RAIIFileEP7LinemapN2tl8optionalIRSt14basic_ofstreamIcSt11char_traitsIcEEEE 5408
_ZN4Rust5LexerD2Ev 5533
_ZN4Rust13is_whitespaceEj 7615
_ZN4Rust25check_valid_float_dot_endEj 10791
_ZN4Rust5Lexer28parse_partial_unicode_escapeEv 11431
_ZN4Rust5Lexer22maybe_parse_raw_stringEm 13821
_ZN4Rust5Lexer17parse_utf8_escapeEv 14669
_ZN4Rust5Lexer22parse_char_or_lifetimeEm 16003
_ZN4Rust36is_non_decimal_int_literal_separatorEj 17618
_ZN4Rust12is_bin_digitEj 19102
_ZN4Rust5Lexer12parse_stringEm 31927
_ZN4Rust5Lexer15parse_in_suffixB5cxx11Ev 59972
_ZN4Rust10is_x_digitEj 62825
_ZN4Rust5Lexer26parse_decimal_int_or_floatEm 65636
_ZN4Rust5Lexer16parse_in_decimalB5cxx11Ev 69215
_ZN4Rust5Lexer10start_lineEii 362070
_ZN4Rust5Lexer16classify_keywordERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 582534
_ZN4Rust5Lexer27parse_identifier_or_keywordEm 584856
_ZN4Rust19is_identifier_startEj 707303
_ZN4Rust5Lexer10skip_tokenEi 1703302
_ZN4Rust5Lexer11build_tokenEv 1714655
_ZN4Rust22is_identifier_continueEj 2765949
_ZN4Rust5Lexer20get_current_locationEv 4064231
_ZN4Rust9Codepoint9as_stringB5cxx11Ev 8240539
_ZN4Rust5Lexer10skip_inputEv 9870865
_ZN4Rust5Lexer10skip_inputEi 9937992
_ZN4RustpLERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9CodepointE 10909217
_ZN4Rust5Lexer10peek_inputEv 11349873
_ZN4Rust5Lexer10peek_inputEi 11905046

Generated by: LCOV version 2.4-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.