Files
clang-p2996/clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
John Brawn fae31e2832 [DebugInfo] Change handling of structured bindings of bitfields (#94632)
Currently we use DW_OP_plus_uconst to handle the bitfield offset and
handle the bitfield size by choosing a type size that matches, but this
doesn't work if either offset or size aren't byte-aligned. Extracting
the bits using DW_OP_LLVM_extract_bits means we can handle any kind of
offset or size.
2024-06-17 17:16:30 +01:00

12 KiB