LCOV - code coverage report
Current view: top level - gcc/rust/backend Coverage Total Hit
Test: gcc.info Lines: 62.0 % 13236 8211
Test Date: 2026-11-14 16:39:50 Functions: 59.0 % 907 535
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-builtins.h
7.1%7.1%
7.1 % 14 1 0.0 % 1
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-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
11.2%11.2%
11.2 % 2379 267 16.7 % 156 26
rust-compile-item.h
47.8%47.8%
47.8 % 23 11 20.0 % 15 3
rust-compile-fnparam.h
42.9%42.9%
42.9 % 7 3 33.3 % 6 2
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
36.2%36.2%
36.2 % 2931 1061 55.1 % 107 59
rust-compile-var-decl.h
97.0%97.0%
97.0 % 164 159 61.5 % 13 8
rust-compile-implitem.h
85.7%85.7%
85.7 % 21 18 66.7 % 3 2
rust-compile-extern.h
84.2%84.2%
84.2 % 228 192 75.0 % 8 6
rust-compile-base.cc
87.5%87.5%
87.5 % 562 492 81.2 % 32 26
rust-compile-type.cc
92.0%92.0%
92.0 % 614 565 82.1 % 39 32
rust-mangle-v0.cc
64.5%64.5%
64.5 % 256 165 90.0 % 20 18
rust-compile-context.h
89.6%89.6%
89.6 % 222 199 95.7 % 23 22
rust-compile-expr.cc
93.1%93.1%
93.1 % 1866 1737 97.5 % 80 78
rust-intrinsic-handlers.cc
93.1%93.1%
93.1 % 1127 1049 98.8 % 86 85
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-intrinsic-handlers.h
100.0%
100.0 % 12 12 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
93.5%93.5%
93.5 % 108 101 100.0 % 9 9
rust-compile-resolve-path.cc
94.8%94.8%
94.8 % 192 182 100.0 % 9 9
rust-compile.cc
92.3%92.3%
92.3 % 220 203 100.0 % 9 9
rust-compile-fnparam.cc
100.0%
100.0 % 54 54 100.0 % 11 11
rust-compile-item.cc
94.3%94.3%
94.3 % 193 182 100.0 % 11 11
rust-builtins.cc
94.4%94.4%
94.4 % 143 135 100.0 % 15 15
rust-compile-asm.cc
93.8%93.8%
93.8 % 112 105 100.0 % 15 15
rust-compile-pattern.cc
94.6%94.6%
94.6 % 945 894 100.0 % 27 27

Generated by: LCOV version 2.5.0-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.