This is an archive of the discontinued LLVM Phabricator instance.

Remove use of multiple reg index enums by RegisterContextPOSIX_arm64
ClosedPublic

Authored by omjavaid on Jul 14 2020, 1:40 AM.

Details

Summary

This patch removes dependence of RegisterContextPOSIX_arm64 on register number enums defined in lldb-arm64-register-enums.h.
RegisterContextPOSIX_arm64 makes use of helper functions to access register numbers defined in RegisterInfos_arm64.h via RegisterInfosPOSIX_arm64.

Diff Detail

Event Timeline

omjavaid created this revision.Jul 14 2020, 1:40 AM
labath accepted this revision.Jul 14 2020, 1:53 AM
This revision is now accepted and ready to land.Jul 14 2020, 1:53 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2020, 2:55 AM