Skip to content

Commit 0509932

Browse files
committed
[lldb] Initialize active_row pointer variable
It's value is not set on all control flow paths. I believe this should fix the failure on some buildbots after #133247.
1 parent efbbdd6 commit 0509932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/RegisterContextUnwind.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ void RegisterContextUnwind::InitializeZerothFrame() {
208208
m_fast_unwind_plan_sp = GetFastUnwindPlanForFrame();
209209
m_full_unwind_plan_sp = GetFullUnwindPlanForFrame();
210210

211-
const UnwindPlan::Row *active_row;
211+
const UnwindPlan::Row *active_row = nullptr;
212212
lldb::RegisterKind row_register_kind = eRegisterKindGeneric;
213213

214214
// If we have LanguageRuntime UnwindPlan for this unwind, use those

0 commit comments

Comments
 (0)