[llvm] Add bit stride to DICompositeType (PR #131680)

Tom Tromey via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 24 13:49:19 PDT 2025


tromey wrote:

> The changes LGTM. The only thing I'm wondering is if we need this also in DIBasicType or other parts of the type graph?

I am not sure yet.  I have a pretty long list of DWARF issues with Ada and I'm working my way through them incrementally.

I know the Ada compiler can produce wrapper types when the value is narrower than the allocated object.  However these are currently done in the front end and communicated to the debugger via a specially-named struct wrapper... I'd like to change this but it's a fairly low priority considering that it already works.

I'm not sure if there are other cases to consider.

https://github.com/llvm/llvm-project/pull/131680


More information about the llvm-commits mailing list