[all-commits] [llvm/llvm-project] 2a156f: [Dexter] Catch value error when encountering inval...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Wed Jun 8 08:06:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a156f6058054e8eff27bfd3564fe19e1bc43024
      https://github.com/llvm/llvm-project/commit/2a156f6058054e8eff27bfd3564fe19e1bc43024
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareAddress.py

  Log Message:
  -----------
  [Dexter] Catch value error when encountering invalid address

The DexDeclareAddress command checks the value of a variable at a
certain point in the debugged program, and saves that value to be used
in other commands. If the value at that point is not a valid address
however, it currently causes an error in Dexter when we try to cast it -
this is fixed in this patch by catching the error and leaving the
address value unresolved.

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




More information about the All-commits mailing list