[Lldb-commits] [lldb] [LLDB] Add a setting for print hex values without leading zeroes (PR #66548)

via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 15 13:55:42 PDT 2023


jimingham wrote:

There are other places we print hex numbers that don't go through the DataExtractor.  For instance, the "location" for a ValueObject is printed directly, so this change wouldn't catch it.  It's a little off-putting if you set a global setting to "not print leading zeros" and then sometimes we still print leading zeros.

This is not an objection to the contents of this patch, but I think to be complete we're going to end up finding more places where we should be checking this policy setting.

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


More information about the lldb-commits mailing list