[PATCH] D42494: [XRay] [compiler-rt] stop writing garbage in naive log records
Martin Pelikán via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 05:19:08 PST 2018
pelikan updated this revision to Diff 131949.
pelikan added a comment.
sync
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D42494
Files:
include/xray/xray_records.h
Index: include/xray/xray_records.h
===================================================================
--- include/xray/xray_records.h
+++ include/xray/xray_records.h
@@ -96,7 +96,7 @@
uint32_t TId = 0;
// Use some bytes in the end of the record for buffers.
- char Buffer[4] = {};
+ char Buffer[12] = {};
} __attribute__((packed));
static_assert(sizeof(XRayRecord) == 32, "XRayRecord != 32 bytes");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42494.131949.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180130/fa446da7/attachment.bin>
More information about the llvm-commits
mailing list