about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-09-13 19:22:17 +1000
committerZalathar <Zalathar@users.noreply.github.com>2023-10-18 22:29:31 +1100
commit4099ab19979e2f22b7a949f83241f4f0adc00ca9 (patch)
tree2a2ab572625879d285b34d03410d7429c286341a /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
parent8efdd4cca61df9adf7f90c40fcc176a2842a9c28 (diff)
downloadrust-4099ab19979e2f22b7a949f83241f4f0adc00ca9.tar.gz
rust-4099ab19979e2f22b7a949f83241f4f0adc00ca9.zip
coverage: Make expression simplification non-destructive
Instead of modifying the accumulated expressions in-place, we now build a set
of expressions that are known to be zero, and then consult that set on the fly
when converting the expression data for FFI.

This will be necessary when moving mappings and expression data into function
coverage info, which can't be mutated during codegen.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions