[all-commits] [llvm/llvm-project] 0577a9: [LLDB] Change EmulateInstriction::ReadRegister to ...

David Spickett via All-commits all-commits at lists.llvm.org
Wed Oct 12 01:37:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0577a9f8d06b97bf8b4d9aa171096e0797e4f5d1
      https://github.com/llvm/llvm-project/commit/0577a9f8d06b97bf8b4d9aa171096e0797e4f5d1
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M lldb/include/lldb/Core/EmulateInstruction.h
    M lldb/source/Core/EmulateInstruction.cpp
    M lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
    M lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
    M lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp

  Log Message:
  -----------
  [LLDB] Change EmulateInstriction::ReadRegister to return Optional

Making it easier to understand and harder to misuse.
This only applies to the ReadRegister(const RegisterInfo &reg_info) variant.

Depends on D135671

Reviewed By: clayborg

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




More information about the All-commits mailing list