You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see this is currently mostly unused by clang/llvm. It would be helpful to have this attribute emitted for all base types as well as structure/union/class types.
The text was updated successfully, but these errors were encountered:
Worth measuring the impact - I'd expect to only put alignment on types that have non-standard alignment (ones where the user has specified a custom different alignment - like LLVM's habit of overaligning data structures so it can use low bits in pointers for other things).
If the impact is low enough to put it everywhere, I guess that'd be OK and save consumers from having to compute the alignment in many complex cases.
| | |
| --- | --- |
| Bugzilla Link | [39009](https://llvm.org/bz39009) |
| Version | unspecified |
| OS | All |
| CC | @dwblaikie |
Extended Description
DWARF5 introduced DW_AT_alignment attribute.
As far as I can see this is currently mostly unused by clang/llvm. It would be helpful to have this attribute emitted for all base types as well as structure/union/class types.
Extended Description
DWARF5 introduced DW_AT_alignment attribute.
As far as I can see this is currently mostly unused by clang/llvm. It would be helpful to have this attribute emitted for all base types as well as structure/union/class types.
The text was updated successfully, but these errors were encountered: