HomePhabricator

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

Authored by pelikan on Jan 30 2018, 5:25 AM.

Description

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

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.

Reviewers: dberris, kpw, eizan

Subscribers: delcypher, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D42494

llvm-svn: 323755