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: Dec 23 2024 at 12:05 UTC