[llvm] [Dwarf] Emit `DW_AT_bit_size` for non-byte-sized types (PR #137118)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 10:09:15 PDT 2025


dwblaikie wrote:

Could you point me to where you've written up (or write it up here) where we need non-byte sized objects? A C++ `bool` is still byte sized (its `sizeof` is 1) so I wouldn't expect to want/need bit-sized things to implement C++ `bool`... is there something else going on here?

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


More information about the llvm-commits mailing list