This is an archive of the discontinued LLVM Phabricator instance.

[XRay] [compiler-rt] stop writing garbage in naive log records
ClosedPublic

Authored by pelikan on Jan 24 2018, 9:46 AM.

Details

Summary

Turns out sizeof(packed) isn't as strong as we'd hoped. This makes sure
that when we initialize the padding, all 12 bytes will be zero.

Diff Detail

Repository
rL LLVM

Event Timeline

pelikan created this revision.Jan 24 2018, 9:46 AM
Herald added subscribers: Restricted Project, delcypher. · View Herald TranscriptJan 24 2018, 9:46 AM
dberris accepted this revision.Jan 27 2018, 3:21 PM

LGTM

This revision is now accepted and ready to land.Jan 27 2018, 3:21 PM
This revision was automatically updated to reflect the committed changes.