This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [ABI/AArch64] Recognize special regs by their xN names too
ClosedPublic

Authored by mgorny on Sep 13 2021, 7:51 AM.

Details

Summary

Recognize lr/sp/fp by their numeric register names in the ABI plugin.
This is necessary to mark them appropriately when interfacing with
gdbserver.

Diff Detail

Event Timeline

mgorny created this revision.Sep 13 2021, 7:51 AM
labath accepted this revision.Sep 14 2021, 1:14 AM

seems reasonable

This revision is now accepted and ready to land.Sep 14 2021, 1:14 AM

@labath, the tests here require D109272, as otherwise LLDB won't recognize the architecture correctly. If you review that one, I can rebase its tests not to require other patches and merge these two.

This revision was landed with ongoing or failed builds.Sep 16 2021, 1:23 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2021, 1:23 AM