[all-commits] [llvm/llvm-project] 812ad2: [LLDB] Change RegisterValue::SetFromMemoryData to ...

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


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

  Changed paths:
    M lldb/include/lldb/Utility/RegisterValue.h
    M lldb/source/Host/common/NativeRegisterContext.cpp
    M lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
    M lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp
    M lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp
    M lldb/source/Target/RegisterContext.cpp
    M lldb/source/Utility/RegisterValue.cpp
    M lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp

  Log Message:
  -----------
  [LLDB] Change RegisterValue::SetFromMemoryData to const RegisterInfo&

All callers were either assuming their pointer was not null before calling
this, or checking beforehand.

Reviewed By: clayborg

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




More information about the All-commits mailing list