ReadRegister and ReadRegisterAsUnsigned are always passed valid pointers,
so the parameter should be a ref to make the intent clear.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D134962
[LLDB] Change pointer to ref in EmulateInstruction::ReadRegister methods ClosedPublic Authored by DavidSpickett on Sep 30 2022, 7:06 AM.
Details Summary ReadRegister and ReadRegisterAsUnsigned are always passed valid pointers,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 10 2022, 4:49 PM Closed by commit rG2a627e2ad1d8: [LLDB] Change pointer to ref in EmulateInstruction::ReadRegister methods (authored by DavidSpickett). · Explain WhyOct 11 2022, 5:32 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 466781 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
|