Skip to content

[llvm-debuginfo-analyzer] Refactor 'LVBinaryReader::processLines'. #69176

Open
@CarlosAlbertoEnciso

Description

@CarlosAlbertoEnciso

Extracted from llvm/tools/llvm-debuginfo-analyzer/README.txt
https://reviews.llvm.org/D125783#inline-1246155
https://reviews.llvm.org/D137156

During the traversal of the debug information sections, we created the
logical lines representing the disassembled instructions from the text
section and the logical lines representing the line records from the
debug line section. Using the ranges associated with the logical scopes,
we will allocate those logical lines to their logical scopes.

Consider the case when any of those lines become orphans, causing
incorrect scope parent for disassembly or line records.

Activity

llvmbot

llvmbot commented on Oct 16, 2023

@llvmbot
Member

@llvm/issue-subscribers-debuginfo

Author: Carlos Alberto Enciso (CarlosAlbertoEnciso)

Extracted from [llvm/tools/llvm-debuginfo-analyzer/README.txt](https://github.com/llvm/llvm-project/blob/main/llvm/tools/llvm-debuginfo-analyzer/README.txt) https://reviews.llvm.org/D125783#inline-1246155 https://reviews.llvm.org/D137156

During the traversal of the debug information sections, we created the
logical lines representing the disassembled instructions from the text
section and the logical lines representing the line records from the
debug line section. Using the ranges associated with the logical scopes,
we will allocate those logical lines to their logical scopes.

Consider the case when any of those lines become orphans, causing
incorrect scope parent for disassembly or line records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @EugeneZelenko@CarlosAlbertoEnciso@llvmbot

        Issue actions

          [llvm-debuginfo-analyzer] Refactor 'LVBinaryReader::processLines'. · Issue #69176 · llvm/llvm-project