[llvm] r341030 - [XRay] Remove attribute packed
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 30 00:57:33 PDT 2018
Author: dberris
Date: Thu Aug 30 00:57:32 2018
New Revision: 341030
URL: http://llvm.org/viewvc/llvm-project?rev=341030&view=rev
Log:
[XRay] Remove attribute packed
Followup to D51210.
Modified:
llvm/trunk/lib/XRay/FDRTraceWriter.cpp
Modified: llvm/trunk/lib/XRay/FDRTraceWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/XRay/FDRTraceWriter.cpp?rev=341030&r1=341029&r2=341030&view=diff
==============================================================================
--- llvm/trunk/lib/XRay/FDRTraceWriter.cpp (original)
+++ llvm/trunk/lib/XRay/FDRTraceWriter.cpp Thu Aug 30 00:57:32 2018
@@ -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 <size_t Index> struct IndexedMemcpy {
template <
More information about the llvm-commits
mailing list