This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Change EmulateInstriction::ReadRegister to return Optional
ClosedPublic

Authored by DavidSpickett on Oct 11 2022, 7:09 AM.

Details

Summary

Making it easier to understand and harder to misuse.
This only applies to the ReadRegister(const RegisterInfo &reg_info) variant.

Depends on D135671

Diff Detail

Event Timeline

DavidSpickett created this revision.Oct 11 2022, 7:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2022, 7:09 AM
DavidSpickett requested review of this revision.Oct 11 2022, 7:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2022, 7:09 AM
clayborg accepted this revision.Oct 11 2022, 11:26 AM
This revision is now accepted and ready to land.Oct 11 2022, 11:26 AM

Fix some undeclared vars, somehow I forgot to actualy build this.

This revision was landed with ongoing or failed builds.Oct 12 2022, 1:37 AM
This revision was automatically updated to reflect the committed changes.