Structs§
- Unused
Instance 🔒 - Holds a dummy function instance along with its symbol name, to avoid having to repeatedly query for the name.
- Usage
Sets 🔒
Functions§
- gather_
unused_ 🔒function_ instances - make_
dummy_ 🔒instance - prepare_
covfun_ 🔒records_ for_ unused_ functions - Each CGU will normally only emit coverage metadata for the functions that it actually generates. But since we don’t want unused functions to disappear from coverage reports, we also scan for functions that were instrumented but are not participating in codegen.
- prepare_
usage_ 🔒sets - Prepare sets of definitions that are relevant to deciding whether something is an “unused function” for coverage purposes.