Module spans

Source

Structs§

Coords 🔒
Line and byte-column coordinates of a source code span within some file. The file itself must be tracked separately.

Functions§

check_coords 🔒
If llvm-cov sees a source region that is improperly ordered (end < start), it will immediately exit with a fatal error. To prevent that from happening, discard regions that are improperly ordered, or might be interpreted in a way that makes them improperly ordered.
ensure_non_empty_span 🔒
make_coords 🔒
Converts the span into its start line and column, and end line and column.