[debuginfo] Use byte pos instead of char pos for lineinfo column index #67360
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Context: https://zulip-archive.rust-lang.org/187780tcompilerwgllvm/51206DWARFdebuglinecolumnandutf8.html
This is the same both gcc and clang are using. It is also a bit faster as there is no need to convert the
BytePos
from theSpan
to aCharPos
.The text was updated successfully, but these errors were encountered: