Page MenuHomePhabricator

[lldb][NFC] Remove dead code that handles situations where LLDB has no dummy target

Authored by teemperor on Aug 26 2019, 6:12 AM.



We always have a dummy target, so any error handling regarding a missing dummy target is dead code now.
Also makes the CommandObject methods that return Target& to express this fact in the API.

This patch just for the CommandObject part of LLDB. I'll migrate the rest of LLDB in a follow-up patch that's WIP.

Diff Detail

Event Timeline

teemperor created this revision.Aug 26 2019, 6:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 26 2019, 6:12 AM
labath accepted this revision.Aug 26 2019, 6:29 AM

This is awesome. Thanks for doing this.

This revision is now accepted and ready to land.Aug 26 2019, 6:29 AM
This revision was automatically updated to reflect the committed changes.