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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 01:27:46 PDT 2025


dtcxzyw wrote:

> Yeah, not sure we should create `DW_OP_LLVM_convert, 1` and if we do, not sure we should lower it to an integer of size 1... doesn't seem likely to be what most consumers would expect?

Can we mask out the high bits with `DW_OP_and` instead?


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


More information about the llvm-commits mailing list