Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MachInst backend: attach SourceLoc span information to all ranges.
Previously, the SourceLoc information transferred in `VCode` only included PC-spans for non-default SourceLocs. I realized that the invariant we're supposed to keep here is that every PC is covered; if no source information, just use `SourceLoc::default()`. This was spurred by @bjorn3's comment in bytecodealliance#1575 (thanks!).
- Loading branch information