[all-commits] [llvm/llvm-project] 710276: [LLDB] Add a setting for printing ValueObject hex ...

Walter Erquinigo via All-commits all-commits at lists.llvm.org
Mon Sep 18 09:48:31 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 710276a2505514634a7cc805461b1219dcef9337
  Author: Walter Erquinigo <a20012251 at gmail.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M lldb/include/lldb/Target/Target.h
    M lldb/source/Core/DumpDataExtractor.cpp
    M lldb/source/Target/Target.cpp
    M lldb/source/Target/TargetProperties.td
    M lldb/test/API/python_api/value/TestValueAPI.py
    M lldb/test/API/python_api/value/main.c

  Log Message:
  [LLDB] Add a setting for printing ValueObject hex values without leading zeroes (#66548)

As suggested by Greg in https://github.com/llvm/llvm-project/pull/66534,
I'm adding a setting at the Target level that controls whether to show
leading zeroes in hex ValueObject values.

This has the benefit of reducing the amount of characters displayed in
certain interfaces, like VSCode.

More information about the All-commits mailing list