Skip to content

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Aug 6, 2025

Bit-fields require the use of the DW_AT_data_bit_offset and DW_AT_bit_size attributes to tell the debugger which exact position in the class, struct, or union to find the bit value.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

⚠️⚠️⚠️ Warnings ⚠️⚠️⚠️

  • In preparation for migrating from Bugzilla to GitHub Issues, the issue reference syntax has changed. Please add the word "Bugzilla" to issue references. For example, Fix Bugzilla Issue 12345 or Fix Bugzilla 12345.(Reminder: the edit needs to be done in the Git commit message, not the GitHub pull request.)

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#21664"

@ibuclaw ibuclaw linked an issue Aug 6, 2025 that may be closed by this pull request
Bit-fields require the use of the DW_AT_data_bit_offset and
DW_AT_bit_size attributes to tell the debugger which exact position in
the class, struct, or union to find the bit value.
@thewilsonator thewilsonator merged commit 4d33ac2 into dlang:master Aug 6, 2025
44 checks passed
@ibuclaw ibuclaw deleted the issue21663 branch August 7, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bit-fields missing from DWARF debug info
3 participants