[all-commits] [llvm/llvm-project] 6fd818: Don't fail step out if remote server doesn't imple...

tedwoodward via All-commits all-commits at lists.llvm.org
Mon Feb 10 11:41:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fd818c5a9c565b8aaeaf1ca85ad14735ee0eb0c
      https://github.com/llvm/llvm-project/commit/6fd818c5a9c565b8aaeaf1ca85ad14735ee0eb0c
  Author: Ted Woodward <ted.woodward at codeaurora.org>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M lldb/source/Target/ThreadPlanStepOut.cpp

  Log Message:
  -----------
  Don't fail step out if remote server doesn't implement qMemoryRegionInfo

Summary:
The return address validation in D71372 will fail if the memory permissions can't be determined. Many embedded stubs either don't implement the qMemoryRegionInfo packet, or don't have memory permissions at all.

Remove the return from the if clause that calls GetLoadAddressPermissions, so this call failing doesn't cause the step out to abort. Instead, assume that the memory permission check doesn't apply to this type of target.

Reviewers: labath, jingham, clayborg, mossberg

Reviewed By: labath, jingham

Subscribers: lldb-commits

Tags: #lldb

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




More information about the All-commits mailing list