[clang] [llvm] [DebugInfo] Use DW_op_bit_piece for structured bindings of bitfields (PR #85665)

Paul T Robinson via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 07:45:11 PDT 2024


https://github.com/pogo59 commented:

The LLVM changes don't have a test. I expect there are existing expression-to-final-DWARF tests that you can modify to throw in a few bit-piece operators and show they come out correctly.

Offhand it seems quite reasonable to use DW_OP_bit_piece for bitfields.

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


More information about the llvm-commits mailing list