[Lldb-commits] [lldb] [lldb] Store proper integer bitwidth in Scalar Type (PR #81451)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 14 11:26:10 PST 2024


clayborg wrote:

I am fine with this patch if we fix the Scalar class to obey the bit width as suggested above. I do worry though that other Scalar values in the expression might get set to 64 bit values all of the time and cause problems with DWARF expressions. Do you have a code snippet of where this is used where you rely on the bit width? Usually `DW_OP_*` opcodes act on a pointer width integer, but some do actually specify a width (some of the deref operations).

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


More information about the lldb-commits mailing list