Skip to content

Commit e68a3e4

Browse files
authored
[lldb] Fix typos in StackFrame.cpp (#118991)
1 parent 33f4f39 commit e68a3e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/source/Target/StackFrame.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,8 @@ ValueObjectSP StackFrame::LegacyGetValueForVariableExpressionPath(
670670
}
671671
}
672672

673-
// If we have a non pointer type with a sythetic value then lets check if
674-
// we have an sythetic dereference specified.
673+
// If we have a non-pointer type with a synthetic value then lets check if
674+
// we have a synthetic dereference specified.
675675
if (!valobj_sp->IsPointerType() && valobj_sp->HasSyntheticValue()) {
676676
Status deref_error;
677677
if (valobj_sp->GetCompilerType().IsReferenceType()) {
@@ -686,13 +686,13 @@ ValueObjectSP StackFrame::LegacyGetValueForVariableExpressionPath(
686686
valobj_sp = valobj_sp->Dereference(deref_error);
687687
if (!valobj_sp || deref_error.Fail()) {
688688
error = Status::FromErrorStringWithFormatv(
689-
"Failed to dereference sythetic value: {0}", deref_error);
689+
"Failed to dereference synthetic value: {0}", deref_error);
690690
return ValueObjectSP();
691691
}
692692
// Some synthetic plug-ins fail to set the error in Dereference
693693
if (!valobj_sp) {
694694
error =
695-
Status::FromErrorString("Failed to dereference sythetic value");
695+
Status::FromErrorString("Failed to dereference synthetic value");
696696
return ValueObjectSP();
697697
}
698698
expr_is_ptr = false;

0 commit comments

Comments
 (0)