This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [DynamicRegisterInfo] Pass name/alt_name via RegisterInfo
ClosedPublic

Authored by mgorny on Sep 16 2021, 2:46 AM.

Details

Summary

Remove the name and alt_name parameters from AddRegister() and instead
pass them via RegisterInfo.name and .alt_name fields. This makes
the API simpler and removes some duplication.

Diff Detail

Event Timeline

mgorny requested review of this revision.Sep 16 2021, 2:46 AM
mgorny created this revision.
labath accepted this revision.Sep 16 2021, 2:51 AM
This revision is now accepted and ready to land.Sep 16 2021, 2:51 AM
This revision was landed with ongoing or failed builds.Sep 16 2021, 3:00 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2021, 3:00 AM