Skip to content

Commit a4b409d

Browse files
fixup! [lldb] Add isConstant mode for FA locations
1 parent a23540f commit a4b409d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Target/RegisterContextUnwind.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,8 @@ bool RegisterContextUnwind::ReadFrameAddress(
20902090
}
20912091
case UnwindPlan::Row::FAValue::isConstant: {
20922092
address = fa.GetConstant();
2093-
address = abi_sp->FixCodeAddress(address);
2093+
if (abi_sp)
2094+
address = abi_sp->FixCodeAddress(address);
20942095
UnwindLogMsg("CFA value set by constant is 0x%" PRIx64, address);
20952096
return true;
20962097
}

0 commit comments

Comments
 (0)