[all-commits] [llvm/llvm-project] c3b5f1: [lldb] Fix incorrect conversion from boolean in Re...
Felipe de Azevedo Piovezan via All-commits
all-commits at lists.llvm.org
Fri Aug 1 15:40:35 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c3b5f1cfe9e3eb4261ed768b4dfb6153b49b675a
https://github.com/llvm/llvm-project/commit/c3b5f1cfe9e3eb4261ed768b4dfb6153b49b675a
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2025-08-01 (Fri, 01 Aug 2025)
Changed paths:
M lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp
Log Message:
-----------
[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).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list