[all-commits] [llvm/llvm-project] 15f34f: [lldb] Allow expect_expr without a running target

Raphael Isemann via All-commits all-commits at lists.llvm.org
Wed Apr 1 00:39:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 15f34ff2d8976f9211c6112531355ed5e2a92ea0
      https://github.com/llvm/llvm-project/commit/15f34ff2d8976f9211c6112531355ed5e2a92ea0
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/test/API/commands/expression/call-function/TestCallBuiltinFunction.py

  Log Message:
  -----------
  [lldb] Allow expect_expr without a running target

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.

Reviewers: labath

Reviewed By: labath

Subscribers: JDevlieghere

Differential Revision: https://reviews.llvm.org/D77197




More information about the All-commits mailing list