[Lldb-commits] [lldb] [lldb] Prefer DW_AT_bit_size for DW_OP_convert type width (PR #208478)

Jielun Wu via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 13 20:55:33 PDT 2026


================
@@ -555,6 +572,12 @@ TEST(DWARFExpression, DW_OP_convert) {
                                offs_schar, DW_OP_stack_value}),
                        ExpectScalar(8, 'A', is_signed));
 
+  // Prefer DW_AT_bit_size over DW_AT_byte_size when both are present.
----------------
firmiana402 wrote:

Makes sense, I'll add a new test case for that.

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


More information about the lldb-commits mailing list