[all-commits] [llvm/llvm-project] 2a627e: [LLDB] Change pointer to ref in EmulateInstruction...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Oct 11 05:32:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a627e2ad1d80b660fcb02dde85b346f61193ade
      https://github.com/llvm/llvm-project/commit/2a627e2ad1d80b660fcb02dde85b346f61193ade
  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] Change pointer to ref in EmulateInstruction::ReadRegister methods

ReadRegister and ReadRegisterAsUnsigned are always passed valid pointers,
so the parameter should be a ref to make the intent clear.

Reviewed By: clayborg

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




More information about the All-commits mailing list