Expand description
Exporting each instrumented object to lcov, several at a time, keeping only the workspace’s own source records.
Constants§
- IGNORED_
SOURCES 🔒 - Sources llvm-cov need not even read: the registry, the toolchain’s own sources and the system. The workspace filter below stays authoritative.
- WORKERS 🔒
- Also the thread count of the profile merge: one bound for the whole phase.
Functions§
- copy_
workspace_ 🔒records - Copies only the records of sources under
root, with their paths made relative. The report ignores every absolute path anyway, and dropping the registry and toolchain records here keeps gigabytes of lcov off the disk. Returns how many records were kept. - export_
object 🔒 - Returns how many workspace source records were kept.
- export_
objects 🔒 - partition 🔒
- Deals the items out round-robin, each with its index in
items.