[all-commits] [llvm/llvm-project] b77e41: [lldb][NFCI] Remove custom dwarf LEB128 types

Alex via All-commits all-commits at lists.llvm.org
Tue May 9 13:48:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b77e41f2886aca278b41a85fc0f947e078b3da13
      https://github.com/llvm/llvm-project/commit/b77e41f2886aca278b41a85fc0f947e078b3da13
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M lldb/include/lldb/Core/dwarf.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp

  Log Message:
  -----------
  [lldb][NFCI] Remove custom dwarf LEB128 types

The LEB128 type defined by the DWARF standard is explicitly a variable-length
encoding of an integer. LLDB had defined `uleb128` and `sleb128` types
to be 32-bit  but in many places in both LLVM and LLDB we treat the maximum
width of LEB128 types to be 64, so let's remove these types and be
consistent.

Differential Revision: https://reviews.llvm.org/D150222




More information about the All-commits mailing list