[Lldb-commits] [lldb] d9d992b - [lldb/API] Add missing LLDB_RECORD_RESULT
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 1 14:41:18 PDT 2020
Author: Jonas Devlieghere
Date: 2020-07-01T14:41:11-07:00
New Revision: d9d992bb8809820c50820b3e703d33d5fcb51385
URL: https://github.com/llvm/llvm-project/commit/d9d992bb8809820c50820b3e703d33d5fcb51385
DIFF: https://github.com/llvm/llvm-project/commit/d9d992bb8809820c50820b3e703d33d5fcb51385.diff
LOG: [lldb/API] Add missing LLDB_RECORD_RESULT
Added:
Modified:
lldb/source/API/SBBreakpoint.cpp
Removed:
################################################################################
diff --git a/lldb/source/API/SBBreakpoint.cpp b/lldb/source/API/SBBreakpoint.cpp
index 0b7bf3c4bd31..eb75bf8b33f4 100644
--- a/lldb/source/API/SBBreakpoint.cpp
+++ b/lldb/source/API/SBBreakpoint.cpp
@@ -673,7 +673,7 @@ SBError SBBreakpoint::AddNameWithErrorHandling(const char *new_name) {
status.SetErrorString("invalid breakpoint");
}
- return status;
+ return LLDB_RECORD_RESULT(status);
}
void SBBreakpoint::RemoveName(const char *name_to_remove) {
More information about the lldb-commits
mailing list