1
Fork 0
rust/compiler/rustc_codegen_llvm/src/coverageinfo
Zalathar 1a014d42f4 Replace ExpressionOperandId with enum Operand
Because the three kinds of operand are now distinguished explicitly, we no
longer need fiddly code to disambiguate counter IDs and expression IDs based on
the total number of counters/expressions in a function.

This does increase the size of operands from 4 bytes to 8 bytes, but that
shouldn't be a big deal since they are mostly stored inside boxed structures,
and the current coverage code is not particularly size-optimized anyway.
2023-08-01 11:29:55 +10:00
..
ffi.rs Move coverageinfo::ffi and coverageinfo::map out of SSA 2023-07-05 20:40:40 +10:00
map_data.rs Replace ExpressionOperandId with enum Operand 2023-08-01 11:29:55 +10:00
mapgen.rs coverage: Obtain the __llvm_covfun section name outside a per-function loop 2023-07-24 21:58:00 +10:00
mod.rs Replace ExpressionOperandId with enum Operand 2023-08-01 11:29:55 +10:00