This is an archive of the discontinued LLVM Phabricator instance.

[scudo][standalone] Work with -Werror=class-memaccess
ClosedPublic

Authored by cryptoad on Apr 10 2020, 1:41 PM.

Details

Summary

Fuchsia's gcc uses this, which in turn prevents us to compile successfully
due to a few memset'ing some non-trivial classes in some init.

Change those memset to members initialization.

Diff Detail

Event Timeline

cryptoad created this revision.Apr 10 2020, 1:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 10 2020, 1:41 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
hctim accepted this revision.Apr 10 2020, 2:49 PM

LGTM

This revision is now accepted and ready to land.Apr 10 2020, 2:49 PM
This revision was automatically updated to reflect the committed changes.