This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Allow expect_expr without a running target
ClosedPublic

Authored by teemperor on Apr 1 2020, 12:25 AM.

Details

Summary

If we don't have a current frame then we can still run many expressions
as long as we have an active target. With this patch expect_expr directly
calls the target's EvaluateExpression function when there is no current frame.

Diff Detail

Event Timeline

teemperor created this revision.Apr 1 2020, 12:25 AM
labath accepted this revision.Apr 1 2020, 12:34 AM

looks good.

This revision is now accepted and ready to land.Apr 1 2020, 12:34 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2020, 1:03 AM