[Lldb-commits] [PATCH] D83180: Set generic error in SBError SetErrorToGenericError
Shivam Mittal via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Jul 5 13:20:07 PDT 2020
shivammittal99 created this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Signed-off-by: Shivam Mittal <shivammittal99 at gmail.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83180
Files:
lldb/source/API/SBError.cpp
Index: lldb/source/API/SBError.cpp
===================================================================
--- lldb/source/API/SBError.cpp
+++ lldb/source/API/SBError.cpp
@@ -118,7 +118,7 @@
LLDB_RECORD_METHOD_NO_ARGS(void, SBError, SetErrorToGenericError);
CreateIfNeeded();
- m_opaque_up->SetErrorToErrno();
+ m_opaque_up->SetErrorToGenericError();
}
void SBError::SetErrorString(const char *err_str) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83180.275565.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200705/33c16d34/attachment.bin>
More information about the lldb-commits
mailing list