[Lldb-commits] [PATCH] D134333: When there are variable errors, display an error in VS Code's local variables view.
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 21 18:26:04 PDT 2022
clayborg added a comment.
Our other option is to add more headerdoc to the SBError.h file and deal with this API issue by stating that the SBError object must be kept alive long enough to copy the error string returned by "const char *SBError::GetCString()". I am ok with either, I just think that it is currently safer and more consistent with all of our other APIs that return "const char *" since they all currently return a ConstString copy that will never go away,
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134333/new/
https://reviews.llvm.org/D134333
More information about the lldb-commits
mailing list