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
Paths
| Differential D134963
[LLDB] Switch to RegisterInfo& for EmulateInstruction::WriteRegister ClosedPublic Authored by DavidSpickett on Sep 30 2022, 7:12 AM.
Details Summary WriteRegister and WriteRegisterUnsigned were never pased nullptr, Depends on D134962
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 10 2022, 4:49 PM Closed by commit rG81832afc04e1: [LLDB] Switch to RegisterInfo& for EmulateInstruction::WriteRegister (authored by DavidSpickett). · Explain WhyOct 11 2022, 6:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 464269 lldb/include/lldb/Core/EmulateInstruction.h
lldb/source/Core/EmulateInstruction.cpp
lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
|
clang-format not found in user’s local PATH; not linting file.