[all-commits] [llvm/llvm-project] 81832a: [LLDB] Switch to RegisterInfo& for EmulateInstruct...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Oct 11 06:25:11 PDT 2022


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

  Changed paths:
    M lldb/include/lldb/Core/EmulateInstruction.h
    M lldb/source/Core/EmulateInstruction.cpp
    M lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.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] Switch to RegisterInfo& for EmulateInstruction::WriteRegister

WriteRegister and WriteRegisterUnsigned were never pased nullptr,
and only one of them appeared to handle it. Switch to ref to make
the intent clear.

Depends on D134962

Reviewed By: clayborg

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




More information about the All-commits mailing list