diff options
| author | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2023-06-30 17:26:37 -0400 |
|---|---|---|
| committer | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2023-07-03 08:36:57 -0400 |
| commit | f292ca136240a9c694aa280ad7fd0b961930804a (patch) | |
| tree | eb57ffca2f8e26ad805f85f8db75ae5d52bec079 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
| parent | 379b59d1b0f3e1ddc421f706e9de65e52acad0cb (diff) | |
| download | llvm-f292ca136240a9c694aa280ad7fd0b961930804a.zip llvm-f292ca136240a9c694aa280ad7fd0b961930804a.tar.gz llvm-f292ca136240a9c694aa280ad7fd0b961930804a.tar.bz2 | |
[lldb][NFC] Simplify GetLocation_DW_OP_addr function
A very old commit (9422dd64f870dd33) changed the signature of this function in a
number of ways. This patch aims to improve it:
1. Reword the documentation, which still mentions old parameters that no longer
exist, and to elaborate upon the behavior of this function.
2. Remove the unnecessary parameter `op_addr_idx`. This parameter is odd in a
couple of ways: we never use it with a value that is non-zero, and the matching
`Update_DW_OP_addr` function doesn't use a similar parameter. We also document
that this new behavior. If we ever decide to handle multiple "DW_OP_addr", we
can introduce the complexity again.
Differential Revision: https://reviews.llvm.org/D154265
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions
