Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write: add LineConvert #745

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Commits on Aug 22, 2024

  1. write: add LineConvert

    This allow reuse of the implementation of `LineProgram::from` as part
    of a more complex transformation.
    
    Operation of `LineProgram::from` is mostly unchanged. The one difference
    is that it now uses the string form chosen by `LineString::new`
    instead of copying the form of the input.
    philipc committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    b44faff View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    6ad2c40 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. Relax the sequence constraints on write::LineProgram

    We now automatically start sequences if needed.
    
    This better matches how the underlying DWARF instructions operate,
    and simplifies use of `LineConvert` since we no longer need to
    check if a sequence has started.
    
    This also means that `LineConvert::read_row` will work as expected
    if there are multiple `DW_LNE_set_address` in a sequence.
    `LineConvert::read_sequence` still does not support this.
    philipc committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    a5ab91f View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    d36b6b1 View commit details
    Browse the repository at this point in the history
  2. Simplify LineProgram::from

    LineConvert::new already retrieves the compilation name from the
    program.
    philipc committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    71e52e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83b53b2 View commit details
    Browse the repository at this point in the history