Skip to content

Various small debuginfo improvements #1470

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

Merged
merged 6 commits into from
Mar 27, 2024
Merged

Various small debuginfo improvements #1470

merged 6 commits into from
Mar 27, 2024

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Mar 27, 2024

  • Define functions scopes using DW_TAG_namespace.
  • Emit DW_AT_external for external functions.
  • Emit DW_AT_frame_base.
  • Remove DW_AT_column as cg_llvm doesn't emit it either.
  • Reorder a couple of attributes to match the order cg_llvm emits them in for easier comparisons.

Part of #166

@bjorn3 bjorn3 added C-enhancement Category: An issue proposing an enhancement or a PR with one. A-debuginfo Area: Debugging information at runtime in generated code. labels Mar 27, 2024
@bjorn3 bjorn3 mentioned this pull request Mar 27, 2024
8 tasks
@bjorn3 bjorn3 merged commit 68b5931 into master Mar 27, 2024
36 of 41 checks passed
@bjorn3 bjorn3 deleted the debuginfo_improvements branch March 27, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-debuginfo Area: Debugging information at runtime in generated code. C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant