Skip to content

[debuginfo] Use byte pos instead of char pos for lineinfo column index #67360

Closed
@bjorn3

Description

@bjorn3

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 the Span to a CharPos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions