We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06817bb commit 8966b2cCopy full SHA for 8966b2c
lldb/source/Core/Statusline.cpp
@@ -137,6 +137,8 @@ void Statusline::Redraw(std::optional<ExecutionContextRef> exe_ctx_ref) {
137
llvm::Expected<StoppedExecutionContext> stopped_exe_ctx =
138
GetStoppedExecutionContext(&m_exe_ctx_ref);
139
if (stopped_exe_ctx) {
140
+ // The StoppedExecutionContext only ensures that we hold the run lock.
141
+ // The process could be in an exited or unloaded state and have no frame.
142
if (auto frame_sp = stopped_exe_ctx->GetFrameSP())
143
sym_ctx = frame_sp->GetSymbolContext(eSymbolContextEverything);
144
} else {
0 commit comments