cfallin labeled issue #1362:
- It assumes only one new
ValueLabel
introduced at eachSourceLoc
. (build_value_labels_index
)- It assumes
SourceLoc
is strictly ascending. (Checking forlast_srcloc.unwrap() > srcloc
instead oflast_srcloc.unwrap() != srcloc
)- It assumes that a
ValueLabel
is only alive for a continuous range ofSourceLoc
. (values_labels.range(range)
)All of those assumptions are broken by cg_clif, meaning that
build_value_labels_ranges
often misses values in the output.
Last updated: Nov 22 2024 at 16:03 UTC