clayborg created this revision. clayborg added reviewers: labath, JDevlieghere, jingham, yinghuitan. Herald added a subscriber: yaxunl. Herald added a project: All. clayborg requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits.
Title says it all! Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D134846 Files: lldb/include/lldb/API/SBError.h Index: lldb/include/lldb/API/SBError.h =================================================================== --- lldb/include/lldb/API/SBError.h +++ lldb/include/lldb/API/SBError.h @@ -27,6 +27,10 @@ const SBError &operator=(const lldb::SBError &rhs); + /// Get the error string as a NULL terminated UTF8 c-string. + /// + /// This SBError object owns the returned string and this object must be kept + /// around long enough to use the returned string. const char *GetCString() const; void Clear();
Index: lldb/include/lldb/API/SBError.h =================================================================== --- lldb/include/lldb/API/SBError.h +++ lldb/include/lldb/API/SBError.h @@ -27,6 +27,10 @@ const SBError &operator=(const lldb::SBError &rhs); + /// Get the error string as a NULL terminated UTF8 c-string. + /// + /// This SBError object owns the returned string and this object must be kept + /// around long enough to use the returned string. const char *GetCString() const; void Clear();
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits