LCOV - code coverage report
Current view: top level - gcc/rust/lex - rust-lex.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 89.5 % 1368 1225
Test Date: 2026-02-28 14:20:25 Functions: 92.5 % 53 49
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_ZN4Rust10is_x_digitEj 1953
_ZN4Rust12is_bin_digitEj 193
_ZN4Rust13is_whitespaceEj 3484
_ZN4Rust14is_float_digitEj 0
_ZN4Rust14is_octal_digitEj 53
_ZN4Rust19is_identifier_startEj 312001
_ZN4Rust22is_identifier_continueEj 1147267
_ZN4Rust25check_valid_float_dot_endEj 142
_ZN4Rust36is_non_decimal_int_literal_separatorEj 3527
_ZN4Rust5Lexer10peek_inputEi 4137209
_ZN4Rust5Lexer10peek_inputEv 4039740
_ZN4Rust5Lexer10skip_inputEi 3478657
_ZN4Rust5Lexer10skip_inputEv 3468373
_ZN4Rust5Lexer10skip_tokenEi 725633
_ZN4Rust5Lexer10start_lineEii 169123
_ZN4Rust5Lexer11build_tokenEv 733690
_ZN4Rust5Lexer12parse_escapeEc 61
_ZN4Rust5Lexer12parse_stringEm 12424
_ZN4Rust5Lexer13dump_and_skipEi 0
_ZN4Rust5Lexer15parse_byte_charEm 78
_ZN4Rust5Lexer16classify_keywordERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 281070
_ZN4Rust5Lexer16parse_in_decimalB5cxx11Ev 15803
_ZN4Rust5Lexer16parse_raw_stringEmi 25
_ZN4Rust5Lexer17parse_byte_stringEm 64
_ZN4Rust5Lexer17parse_utf8_escapeEv 2802
_ZN4Rust5Lexer19split_current_tokenENS_7TokenIdES1_ 100
_ZN4Rust5Lexer19split_current_tokenESt6vectorISt10shared_ptrINS_5TokenEESaIS4_EE 2
_ZN4Rust5Lexer20get_current_locationEv 1839756
_ZN4Rust5Lexer20parse_in_type_suffixEv 15659
_ZN4Rust5Lexer20parse_raw_identifierEm 81
_ZN4Rust5Lexer21parse_raw_byte_stringEm 32
_ZN4Rust5Lexer21replace_current_tokenESt10shared_ptrINS_5TokenEE 0
_ZN4Rust5Lexer22maybe_parse_raw_stringEm 3914
_ZN4Rust5Lexer22parse_char_or_lifetimeEm 843
_ZN4Rust5Lexer22parse_in_exponent_partB5cxx11Ev 345
_ZN4Rust5Lexer24parse_partial_hex_escapeEv 34
_ZN4Rust5Lexer24skip_broken_string_inputENS_9CodepointE 0
_ZN4Rust5Lexer26input_source_is_valid_utf8Ev 4635
_ZN4Rust5Lexer26parse_decimal_int_or_floatEm 15451
_ZN4Rust5Lexer27parse_identifier_or_keywordEm 282362
_ZN4Rust5Lexer28parse_partial_unicode_escapeEv 48
_ZN4Rust5Lexer29parse_non_decimal_int_literalIPFbjEEESt10shared_ptrINS_5TokenEEmT_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi 216
_ZN4Rust5Lexer29parse_partial_string_continueEv 28
_ZN4Rust5Lexer30parse_non_decimal_int_literalsEm 216
_ZN4Rust5LexerC2EPKcNS_8RAIIFileEP7LinemapN2tl8optionalIRSt14basic_ofstreamIcSt11char_traitsIcEEEE 4690
_ZN4Rust5LexerC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP7Linemap 103
_ZN4Rust5LexerD2Ev 4791
_ZN4Rust9Codepoint9as_stringB5cxx11Ev 2894707
_ZN4RustpLERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9CodepointE 3176200
_ZN8selftest22rust_input_source_testEv 1
_ZN8selftestL21assert_source_contentERN4Rust11InputSourceERKSt6vectorIjSaIjEE 6
_ZN8selftestL22test_file_input_sourceENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIjSaIjEE 2
_ZN8selftestL24test_buffer_input_sourceENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIjSaIjEE 4

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.