kamleshbhalui 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).
Yes here it is https://github.com/llvm/llvm-project/blob/main/llvm/lib/Support/APInt.cpp#L715. https://github.com/llvm/llvm-project/pull/81451 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits