[all-commits] [llvm/llvm-project] c8ef88: [lldb][NFCI] Remove CommandReturnObject from Break...
Alex Langford via All-commits
all-commits at lists.llvm.org
Fri Jan 12 13:53:11 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c8ef88c446a3ff773c5be2fbf3df84b8b40c0c41
https://github.com/llvm/llvm-project/commit/c8ef88c446a3ff773c5be2fbf3df84b8b40c0c41
Author: Alex Langford <alangford at apple.com>
Date: 2024-01-12 (Fri, 12 Jan 2024)
Changed paths:
M lldb/include/lldb/Breakpoint/BreakpointIDList.h
M lldb/source/Breakpoint/BreakpointIDList.cpp
M lldb/source/Commands/CommandObjectBreakpoint.cpp
Log Message:
-----------
[lldb][NFCI] Remove CommandReturnObject from BreakpointIDList (#77858)
BreakpointIDList does not need to know about CommandReturnObject.
BreakpointIDList::FindAndReplaceIDRanges is the last place that uses it
in BreakpointIDList.
Instead of passing in a CommandReturnObject, it now returns an
llvm::Error. The callsite uses the Error to populate the
CommandReturnObject as needed.
More information about the All-commits
mailing list