This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFCI] Remove custom dwarf LEB128 types
ClosedPublic

Authored by bulbazord on May 9 2023, 1:01 PM.

Details

Summary

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.

Diff Detail

Event Timeline

bulbazord created this revision.May 9 2023, 1:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2023, 1:01 PM
bulbazord requested review of this revision.May 9 2023, 1:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2023, 1:01 PM

Nice cleanup! This gets rid of some implicit conversions

fdeazeve accepted this revision.May 9 2023, 1:12 PM
This revision is now accepted and ready to land.May 9 2023, 1:12 PM
This revision was automatically updated to reflect the committed changes.