From edf11fd4500da15f0de49ed0854ff85e4b66966f Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Thu, 30 Aug 2018 07:57:32 +0000 Subject: [XRay] Remove attribute packed Followup to D51210. llvm-svn: 341030 --- llvm/lib/XRay/FDRTraceWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm') diff --git a/llvm/lib/XRay/FDRTraceWriter.cpp b/llvm/lib/XRay/FDRTraceWriter.cpp index 6214a6b80c1..117b3f3ad91 100644 --- a/llvm/lib/XRay/FDRTraceWriter.cpp +++ b/llvm/lib/XRay/FDRTraceWriter.cpp @@ -31,14 +31,14 @@ struct MetadataBlob { uint8_t Type : 1; uint8_t RecordKind : 7; char Data[15]; -} __attribute__((packed)); +}; struct FunctionDeltaBlob { uint8_t Type : 1; uint8_t RecordKind : 3; int FuncId : 28; uint32_t TSCDelta; -} __attribute__((packed)); +}; template struct IndexedMemcpy { template < -- cgit v1.2.3