This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Drop RegisterInfoInterface::GetDynamicRegisterInfo
ClosedPublic

Authored by labath on Mar 28 2023, 5:57 AM.

Details

Summary

"Dynamic register info" is a very overloaded term, and this particular
instance of it was only used for passing the information about the
"orig_[re]ax" pseudo-register on x86 through some generic code. Since
both sides of the code are x86-specific, I have replaced this with a
more direct route.

Diff Detail

Event Timeline

labath created this revision.Mar 28 2023, 5:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2023, 5:57 AM
Herald added a subscriber: pengfei. · View Herald Transcript
labath requested review of this revision.Mar 28 2023, 5:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2023, 5:57 AM
DavidSpickett accepted this revision.Apr 3 2023, 2:02 AM

LGTM

I have no idea about the specific use case but less code is good.

This revision is now accepted and ready to land.Apr 3 2023, 2:02 AM
This revision was automatically updated to reflect the committed changes.