This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Check that RegisterInfo and ContextInfo are trivial
ClosedPublic

Authored by DavidSpickett on Oct 24 2022, 1:56 AM.

Details

Summary

RegisterInfo is often initialised with a memcpy, and ContextInfo
does not run destructors for anything within it.

This was discussed in https://reviews.llvm.org/D134041.

Diff Detail

Event Timeline

DavidSpickett created this revision.Oct 24 2022, 1:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 1:56 AM
DavidSpickett requested review of this revision.Oct 24 2022, 1:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 1:56 AM
labath accepted this revision.Oct 24 2022, 2:01 AM
This revision is now accepted and ready to land.Oct 24 2022, 2:01 AM