This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Pass a ValueObject to DumpTypeValue instead of bitfield size/offset pair
Needs ReviewPublic

Authored by teemperor on Nov 15 2019, 1:18 AM.

Details

Reviewers
labath
Summary

This makes calling DumpTypeValue less tricky as it's not possible to mix up the size/offset
parameters. Also allows us to drop downstream swift patches that try to pass even more
ValueObject members as separate parameters to this function.

Diff Detail

Event Timeline

teemperor created this revision.Nov 15 2019, 1:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2019, 1:18 AM
teemperor retitled this revision from [lldb] Pass a ValueObject to DumpTypeValue instead of bitfield size/offset pair to [lldb][NFC] Pass a ValueObject to DumpTypeValue instead of bitfield size/offset pair.Nov 15 2019, 1:18 AM