[Lldb-commits] [lldb] [lldb] fix unconsumed llvm::Expected's errors (PR #193257)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Tue May 5 03:08:35 PDT 2026
================
@@ -260,8 +260,10 @@ bool ScriptedThread::LoadArtificialStackFrames() {
if (!frame_from_script_obj_or_err) {
return ScriptedInterface::ErrorWithMessage<bool>(
LLVM_PRETTY_FUNCTION,
- llvm::Twine("Couldn't add artificial frame (" + llvm::Twine(idx) +
- llvm::Twine(") to ScriptedThread StackFrameList."))
+ llvm::Twine(
+ "Couldn't add artificial frame (" + llvm::Twine(idx) +
+ llvm::Twine(") to ScriptedThread StackFrameList: ") +
+ llvm::toString(frame_from_script_obj_or_err.takeError()))
----------------
charles-zablit wrote:
Fixed!
https://github.com/llvm/llvm-project/pull/193257
More information about the lldb-commits
mailing list