Collect contributions per section kind For each module we walk its sections in ELF load order (non-BSS first, BSS last)
| 38 | |
| 39 | // The canonical output order: Text -> RoData -> Data -> Custom(...) -> Bss. |
| 40 | let all_kinds = collect_ordered_kinds(modules); |
| 41 | let mut kind_contribs: Vec<(&SectionKind, Vec<Contrib<'_>>)> = |
| 42 | all_kinds.iter().map(|k| (k, Vec::new())).collect(); |
| 43 | |
| 44 | for (mi, (_name, module)) in modules.iter().enumerate() { |
| 45 | let ordered = ordered_sections(module); |
| 46 | for sec in ordered { |
nothing calls this directly
no outgoing calls
no test coverage detected