This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Support "eflags" register name in generic reg fallback
ClosedPublic

Authored by mgorny on Aug 23 2021, 5:22 AM.

Details

Summary

Enhance the generic register fallback code to support "eflags" register
name in addition to "rflags", as the former is used by gdbserver. This
permits lldb-server to recognize the generic flags register when
interfacing with gdbserver-style target.xml (i.e. without generic=""
attributes), and therefore aligns ABI plugins' AugmentRegisterInfo()
between lldb-server and gdbserver.

Diff Detail

Event Timeline

mgorny requested review of this revision.Aug 23 2021, 5:22 AM
mgorny created this revision.
labath accepted this revision.Sep 7 2021, 6:06 AM

seems reasonable

This revision is now accepted and ready to land.Sep 7 2021, 6:06 AM
This revision was landed with ongoing or failed builds.Sep 8 2021, 2:33 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2021, 2:33 AM