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: implement references within expressions #479

Merged
merged 7 commits into from
Apr 28, 2020

Commits on Apr 21, 2020

  1. write/unit: support symbol references for DW_FORM_ref_addr

    Does not yet support them during conversion though.
    philipc committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    29e2927 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

  1. write/unit: rework conversion of .debug_info references

    Split the .debug_info conversion into two passes, one for entries
    and one for attributes.
    
    This allows us to convert attributes directly, instead of needing the
    temporary AttributeValue::UnitSectionRef, and will also better support
    .debug_info references in expressions.
    philipc committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    c32f6cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0751fb7 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. read/op: delay PC computation in Operation::parse

    This makes it easier to access the raw operation values.
    philipc committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    c403f5e View commit details
    Browse the repository at this point in the history
  2. read/op: separate unsigned/signed constants in Operation::parse

    This makes it easier to access the raw operation values.
    philipc committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    f66d442 View commit details
    Browse the repository at this point in the history
  3. write/unit: precalculate entry offsets

    This is required to support references to entries in expressions.
    philipc committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    f92b2b6 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. write: implement expressions

    Expressions are now are Vec of operations, instead of raw bytecode.
    This is required to support addresses and references within the
    expression.
    philipc committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    ebfffc6 View commit details
    Browse the repository at this point in the history