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-03-28 14:25:54 Functions: 92.5 % 53 49
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_ZN4Rust14is_float_digitEj 0
_ZN4Rust5Lexer13dump_and_skipEi 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
_ZN4Rust5Lexer16parse_raw_stringEmi 25
_ZN4Rust5Lexer29parse_partial_string_continueEv 28
_ZN4Rust5Lexer21parse_raw_byte_stringEm 32
_ZN4Rust5Lexer24parse_partial_hex_escapeEv 34
_ZN4Rust5Lexer28parse_partial_unicode_escapeEv 48
_ZN4Rust14is_octal_digitEj 53
_ZN4Rust5Lexer12parse_escapeEc 61
_ZN4Rust5Lexer17parse_byte_stringEm 64
_ZN4Rust5Lexer15parse_byte_charEm 78
_ZN4Rust5Lexer20parse_raw_identifierEm 81
_ZN4Rust5Lexer19split_current_tokenENS_7TokenIdES1_ 100
_ZN4Rust5LexerC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP7Linemap 104
_ZN4Rust25check_valid_float_dot_endEj 142
_ZN4Rust12is_bin_digitEj 193
_ZN4Rust5Lexer29parse_non_decimal_int_literalIPFbjEEESt10shared_ptrINS_5TokenEEmT_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi 224
_ZN4Rust5Lexer30parse_non_decimal_int_literalsEm 224
_ZN4Rust5Lexer22parse_in_exponent_partB5cxx11Ev 345
_ZN4Rust5Lexer22parse_char_or_lifetimeEm 843
_ZN4Rust10is_x_digitEj 2017
_ZN4Rust5Lexer17parse_utf8_escapeEv 2802
_ZN4Rust13is_whitespaceEj 3496
_ZN4Rust36is_non_decimal_int_literal_separatorEj 3540
_ZN4Rust5Lexer22maybe_parse_raw_stringEm 3941
_ZN4Rust5Lexer26input_source_is_valid_utf8Ev 4652
_ZN4Rust5LexerC2EPKcNS_8RAIIFileEP7LinemapN2tl8optionalIRSt14basic_ofstreamIcSt11char_traitsIcEEEE 4707
_ZN4Rust5LexerD2Ev 4809
_ZN4Rust5Lexer12parse_stringEm 12435
_ZN4Rust5Lexer26parse_decimal_int_or_floatEm 15608
_ZN4Rust5Lexer20parse_in_type_suffixEv 15824
_ZN4Rust5Lexer16parse_in_decimalB5cxx11Ev 15960
_ZN4Rust5Lexer10start_lineEii 169569
_ZN4Rust5Lexer16classify_keywordERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 281661
_ZN4Rust5Lexer27parse_identifier_or_keywordEm 282962
_ZN4Rust19is_identifier_startEj 312777
_ZN4Rust5Lexer10skip_tokenEi 727693
_ZN4Rust5Lexer11build_tokenEv 735782
_ZN4Rust22is_identifier_continueEj 1150452
_ZN4Rust5Lexer20get_current_locationEv 1844845
_ZN4Rust9Codepoint9as_stringB5cxx11Ev 2903262
_ZN4RustpLERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9CodepointE 3185098
_ZN4Rust5Lexer10skip_inputEv 3479052
_ZN4Rust5Lexer10skip_inputEi 3489343
_ZN4Rust5Lexer10peek_inputEv 4051792
_ZN4Rust5Lexer10peek_inputEi 4149465

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.