This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Pass const RegisterInfo& to RegisterValue::SetValueFromData
ClosedPublic

Authored by DavidSpickett on Oct 11 2022, 7:08 AM.

Details

Summary

Familiar story, callers are either checking upfront that the pointer
wasn't null or not checking at all. SetValueFromData itself didn't
check either.

So make the parameter a ref and fixup the few places where a nullptr
check seems needed.

Depends on D135668

Diff Detail