LCOV - code coverage report
Current view: top level - gcc/rust/lex - rust-lex.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 92.0 % 1321 1215
Test Date: 2026-06-06 15:39:20 Functions: 94.3 % 53 50
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_ZN4Rust10is_x_digitEj 2681
_ZN4Rust12is_bin_digitEj 276
_ZN4Rust13is_whitespaceEj 3661
_ZN4Rust14is_float_digitEj 0
_ZN4Rust14is_octal_digitEj 87
_ZN4Rust19is_identifier_startEj 321359
_ZN4Rust22is_identifier_continueEj 1182099
_ZN4Rust25check_valid_float_dot_endEj 142
_ZN4Rust36is_non_decimal_int_literal_separatorEj 4384
_ZN4Rust5Lexer10peek_inputEi 4257539
_ZN4Rust5Lexer10peek_inputEv 4159223
_ZN4Rust5Lexer10skip_inputEi 3584366
_ZN4Rust5Lexer10skip_inputEv 3574072
_ZN4Rust5Lexer10skip_tokenEi 750466
_ZN4Rust5Lexer10start_lineEii 174950
_ZN4Rust5Lexer11build_tokenEv 758739
_ZN4Rust5Lexer12parse_escapeEc 61
_ZN4Rust5Lexer12parse_stringEm 12745
_ZN4Rust5Lexer13dump_and_skipEi 55
_ZN4Rust5Lexer15parse_byte_charEm 78
_ZN4Rust5Lexer15parse_in_suffixB5cxx11Ev 17444
_ZN4Rust5Lexer16classify_keywordERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 288288
_ZN4Rust5Lexer16parse_in_decimalB5cxx11Ev 17474
_ZN4Rust5Lexer16parse_raw_stringEmi 25
_ZN4Rust5Lexer17parse_byte_stringEm 64
_ZN4Rust5Lexer17parse_utf8_escapeEv 2806
_ZN4Rust5Lexer19split_current_tokenENS_7TokenIdES1_ 100
_ZN4Rust5Lexer19split_current_tokenESt6vectorISt10shared_ptrINS_5TokenEESaIS4_EE 2
_ZN4Rust5Lexer20get_current_locationEv 1899038
_ZN4Rust5Lexer20parse_raw_identifierEm 81
_ZN4Rust5Lexer21parse_raw_byte_stringEm 32
_ZN4Rust5Lexer21replace_current_tokenESt10shared_ptrINS_5TokenEE 0
_ZN4Rust5Lexer22maybe_parse_raw_stringEm 3961
_ZN4Rust5Lexer22parse_char_or_lifetimeEm 848
_ZN4Rust5Lexer22parse_in_exponent_partB5cxx11Ev 349
_ZN4Rust5Lexer24parse_partial_hex_escapeEv 34
_ZN4Rust5Lexer24skip_broken_string_inputENS_9CodepointE 0
_ZN4Rust5Lexer26input_source_is_valid_utf8Ev 4833
_ZN4Rust5Lexer26parse_decimal_int_or_floatEm 17117
_ZN4Rust5Lexer27parse_identifier_or_keywordEm 289604
_ZN4Rust5Lexer28parse_partial_unicode_escapeEv 48
_ZN4Rust5Lexer29parse_non_decimal_int_literalIPFbjEEESt10shared_ptrINS_5TokenEEmT_NS_18IntegerLiteralBaseE 335
_ZN4Rust5Lexer29parse_partial_string_continueEv 28
_ZN4Rust5Lexer30parse_non_decimal_int_literalsEm 335
_ZN4Rust5LexerC2EPKcNS_8RAIIFileEP7LinemapN2tl8optionalIRSt14basic_ofstreamIcSt11char_traitsIcEEEE 4888
_ZN4Rust5LexerC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP7Linemap 104
_ZN4Rust5LexerD2Ev 4990
_ZN4Rust9Codepoint9as_stringB5cxx11Ev 2986365
_ZN4RustpLERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9CodepointE 3275683
_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.