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

Source location info still missing in precompiled code #1005

Open
shirok opened this issue Mar 22, 2024 · 2 comments
Open

Source location info still missing in precompiled code #1005

shirok opened this issue Mar 22, 2024 · 2 comments

Comments

@shirok
Copy link
Owner

shirok commented Mar 22, 2024

Precompiled code attaches packed source info, but it seems that it is source code info without location info.
Will come up a short example to exhibit the issue.

@shirok
Copy link
Owner Author

shirok commented May 21, 2024

Oops. The packed debug info format didn't consider extended pairs.

Extended pairs don't fit nicely with the current packed format, but we can "augument" it with...

  • List of offsets of pairs that are extended ant non-empty attributes
  • For each of such pairs, packed format of pair attributes

These are applied recursively, e.g. pair attributes may contain extended pairs.

@shirok
Copy link
Owner Author

shirok commented May 21, 2024

Not necessarily a "list of offsets" to point to extended pairs. We can "flatten" the debug info with extended pairs to an ordinary DAG to encode. We'll reconstruct the original form after decodign the packed form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant