aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
diff options
context:
space:
mode:
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>2025-08-01 15:40:14 -0700
committerGitHub <noreply@github.com>2025-08-01 15:40:14 -0700
commitc3b5f1cfe9e3eb4261ed768b4dfb6153b49b675a (patch)
tree5a4381cc35fa61bab2ee8bb0d6c508d9372ba8af /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
parentdf392b518b7e187f72c036a611feca75ea8b796b (diff)
downloadllvm-c3b5f1cfe9e3eb4261ed768b4dfb6153b49b675a.zip
llvm-c3b5f1cfe9e3eb4261ed768b4dfb6153b49b675a.tar.gz
llvm-c3b5f1cfe9e3eb4261ed768b4dfb6153b49b675a.tar.bz2
[lldb] Fix incorrect conversion from boolean in RegisterContextThreadMemory (#151767)
The method ConvertRegisterKindToRegisterNumber should return INVALID_REGNUM, and not "false" upon failure: false would mean 0 which is usually the number for generic PC. Likewise, NumSupportedHardwareBreakpoints should return 0 instead of false (though for this one they are equivalent).
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions