Skip to content

Commit 8907537

Browse files
authored
Merge pull request #2748 from jimingham/cleanup-swift-po
Cleanup the Swift GetObjectDescription helpers; mostly coalesce repea…
2 parents fc3a749 + 8e89d21 commit 8907537

File tree

3 files changed

+110
-295
lines changed

3 files changed

+110
-295
lines changed

lldb/source/Plugins/ExpressionParser/Swift/SwiftUserExpression.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ bool SwiftUserExpression::Parse(DiagnosticManager &diagnostic_manager,
288288

289289
StackFrame *frame = exe_ctx.GetFramePtr();
290290
if (!frame) {
291+
diagnostic_manager.PutString(eDiagnosticSeverityError,
292+
"couldn't start parsing - no stack frame");
291293
LLDB_LOG(log, "no stack frame");
292294
return false;
293295
}

0 commit comments

Comments
 (0)