LCOV - code coverage report
Current view: top level - gcc/rust/backend - rust-compile-base.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 85.5 % 509 435
Test Date: 2025-08-30 13:27:53 Functions: 78.6 % 28 22
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
_ZN4Rust7Compile14HIRCompileBase42handle_bang_proc_macro_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 0
_ZN4Rust7Compile14HIRCompileBase44handle_derive_proc_macro_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 0
_ZN4Rust7Compile14HIRCompileBase47handle_attribute_proc_macro_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 0
_ZN4Rust7CompileL14get_attributesERKNS_3AST9AttributeE 0
_ZN4Rust7CompileL14get_trait_nameERKNS_3AST9AttributeE 0
_ZN4Rust7CompileL24handle_proc_macro_commonEP9tree_nodeRKNS_3AST9AttributeE 0
_ZN4Rust7Compile14HIRCompileBase31handle_cold_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 1
_ZN4Rust7Compile14HIRCompileBase36handle_no_mangle_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 1
_ZN4Rust7Compile14HIRCompileBase39handle_link_section_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 1
_ZN4Rust7Compile14HIRCompileBase37handle_deprecated_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 5
_ZN4Rust7Compile14HIRCompileBase33handle_inline_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 941
_ZN4Rust7Compile14HIRCompileBase21compile_constant_exprEPNS0_7ContextEjPNS_4TyTy8BaseTypeES6_RKNS_8Resolver13CanonicalPathERNS_3HIR4ExprEmm 1064
_ZN4Rust7Compile14HIRCompileBase24query_compile_const_exprEPNS0_7ContextEPNS_4TyTy8BaseTypeERNS_3HIR4ExprE 1064
_ZN4Rust7Compile14HIRCompileBase35handle_must_use_attribute_on_fndeclEP9tree_nodeRKNS_3AST9AttributeE 1089
_ZN4Rust7Compile14HIRCompileBase21compile_constant_itemEjPNS_4TyTy8BaseTypeES4_RKNS_8Resolver13CanonicalPathERNS_3HIR4ExprEmm 1585
_ZN4Rust7Compile14HIRCompileBase25named_constant_expressionEP9tree_nodeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_m 1585
_ZN4Rust7Compile14HIRCompileBase22resolve_method_addressEPNS_4TyTy6FnTypeEPNS2_8BaseTypeEm 3910
_ZN4Rust7Compile14HIRCompileBase15unit_expressionEm 6463
_ZN4Rust7Compile14HIRCompileBase12setup_fndeclEP9tree_nodebbRNS_3HIR10VisibilityERKNS4_18FunctionQualifiersERKSt6vectorINS_3AST9AttributeESaISC_EE 12520
_ZN4Rust7Compile14HIRCompileBase16compile_functionEbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN2tl8optionalINS_3HIR9SelfParamEEERSt6vectorINSC_13FunctionParamESaISH_EERKNSC_18FunctionQualifiersERNSC_10VisibilityERSG_INS_3AST9AttributeESaISR_EEmPNSC_9BlockExprERKNS_8Resolver13CanonicalPathEPNS_4TyTy6FnTypeE 12520
_ZN4Rust7Compile18should_mangle_itemEP9tree_node 12520
_ZN4Rust7CompileL7get_abiERKSt6vectorINS_3AST9AttributeESaIS3_EERKNS_3HIR18FunctionQualifiersE 12520
_ZN4Rust7Compile14HIRCompileBase21compile_function_bodyEP9tree_nodeRNS_3HIR9BlockExprEPNS_4TyTy8BaseTypeE 12607
_ZN4Rust7Compile14HIRCompileBase17setup_abi_optionsEP9tree_nodeNS_3ABIE 13551
_ZN4Rust7Compile14HIRCompileBase19indirect_expressionEP9tree_nodem 13977
_ZZN4Rust7CompileL7get_abiERKSt6vectorINS_3AST9AttributeESaIS3_EERKNS_3HIR18FunctionQualifiersEENKUlRKS3_E_clESD_ 15607
_ZN4Rust7Compile14HIRCompileBase16mark_addressableEP9tree_nodem 36754
_ZN4Rust7Compile14HIRCompileBase18address_expressionEP9tree_nodemS3_ 36776

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.