LCOV - code coverage report
Current view: top level - gcc/rust/backend Coverage Total Hit
Test: gcc.info Lines: 60.7 % 13067 7931
Test Date: 2026-09-19 16:22:48 Functions: 56.5 % 865 489
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

File Sort by file name Line Coverage Sort by line coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit
rust-compile-platform-intrinsic.cc
0.0%
0.0 % 31 0.0 % 3
rust-tree.h
21.3%21.3%
21.3 % 61 13 0.0 % 7
rust-compile-expr.h
11.1%11.1%
11.1 % 9 1 0.0 % 8
rust-compile-proc-macro.cc
0.0%
0.0 % 157 0.0 % 14
rust-compile-block.h
21.8%21.8%
21.8 % 124 27 5.9 % 102 6
rust-builtins.h
100.0%
100.0 % 1 1 -
rust-compile-asm.h
100.0%
100.0 % 2 2 -
rust-compile-drop-candidate.h
100.0%
100.0 % 1 1 -
rust-compile-resolve-path.h
100.0%
100.0 % 1 1 -
rust-compile-struct-field-expr.h
100.0%
100.0 % 1 1 -
rust-mangle.h
100.0%
100.0 % 2 2 -
rust-tree.cc
10.2%10.2%
10.2 % 2373 243 16.0 % 156 25
rust-compile-fnparam.h
28.6%28.6%
28.6 % 7 2 16.7 % 6 1
rust-compile-item.h
47.8%47.8%
47.8 % 23 11 20.0 % 15 3
rust-compile-stmt.h
47.8%47.8%
47.8 % 23 11 45.5 % 22 10
rust-compile-implitem.cc
43.5%43.5%
43.5 % 46 20 50.0 % 2 1
rust-compile-pattern.h
61.0%61.0%
61.0 % 59 36 52.6 % 19 10
rust-constexpr.cc
34.2%34.2%
34.2 % 2895 990 53.8 % 106 57
rust-compile-var-decl.h
92.7%92.7%
92.7 % 164 152 53.8 % 13 7
rust-compile-implitem.h
85.7%85.7%
85.7 % 21 18 66.7 % 3 2
rust-compile-extern.h
82.4%82.4%
82.4 % 233 192 75.0 % 8 6
rust-compile-type.cc
91.2%91.2%
91.2 % 548 500 81.1 % 37 30
rust-compile-base.cc
87.5%87.5%
87.5 % 562 492 81.2 % 32 26
rust-mangle-v0.cc
64.5%64.5%
64.5 % 256 165 90.0 % 20 18
rust-compile-context.h
89.9%89.9%
89.9 % 208 187 95.0 % 20 19
rust-intrinsic-handlers.cc
88.5%88.5%
88.5 % 1170 1035 96.4 % 55 53
rust-compile-expr.cc
93.0%93.0%
93.0 % 1842 1713 97.5 % 80 78
rust-mangle.cc
75.0%75.0%
75.0 % 8 6 100.0 % 1 1
rust-compile-base.h
100.0%
100.0 % 2 2 100.0 % 2 2
rust-compile-intrinsic.cc
71.4%71.4%
71.4 % 14 10 100.0 % 2 2
rust-compile-drop.cc
100.0%
100.0 % 62 62 100.0 % 4 4
rust-compile-stmt.cc
97.8%97.8%
97.8 % 45 44 100.0 % 4 4
rust-mangle-legacy.cc
84.8%84.8%
84.8 % 66 56 100.0 % 4 4
rust-compile-drop-builder.cc
100.0%
100.0 % 23 23 100.0 % 5 5
rust-compile-struct-field-expr.cc
100.0%
100.0 % 33 33 100.0 % 5 5
rust-compile-block.cc
100.0%
100.0 % 73 73 100.0 % 6 6
rust-compile-context.cc
92.9%92.9%
92.9 % 98 91 100.0 % 8 8
rust-compile-resolve-path.cc
94.8%94.8%
94.8 % 191 181 100.0 % 9 9
rust-compile.cc
92.3%92.3%
92.3 % 221 204 100.0 % 9 9
rust-compile-item.cc
93.6%93.6%
93.6 % 172 161 100.0 % 10 10
rust-compile-fnparam.cc
100.0%
100.0 % 54 54 100.0 % 11 11
rust-builtins.cc
95.8%95.8%
95.8 % 144 138 100.0 % 15 15
rust-compile-asm.cc
93.8%93.8%
93.8 % 112 105 100.0 % 15 15
rust-compile-pattern.cc
93.9%93.9%
93.9 % 929 872 100.0 % 27 27

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.