Skip to content

Commit ed5fcb9

Browse files
committed
[llvm-debuginfo-analyzer] Reorder LVElement members in order to minimize padding
1 parent 4e4b961 commit ed5fcb9

File tree

1 file changed

+5
-5
lines changed
  • llvm/include/llvm/DebugInfo/LogicalView/Core

1 file changed

+5
-5
lines changed

llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,18 @@ class LLVM_ABI LVElement : public LVObject {
107107
IsAnonymous,
108108
LastEntry
109109
};
110-
// Typed bitvector with properties for this element.
111-
LVProperties<Property> Properties;
112110
static LVElementDispatch Dispatch;
113111

114-
/// RTTI.
115-
const LVSubclassID SubclassID;
116-
117112
// Indexes in the String Pool.
118113
size_t NameIndex = 0;
119114
size_t QualifiedNameIndex = 0;
120115
size_t FilenameIndex = 0;
121116

117+
// Typed bitvector with properties for this element.
118+
LVProperties<Property> Properties;
119+
/// RTTI.
120+
const LVSubclassID SubclassID;
121+
122122
uint16_t AccessibilityCode : 2; // DW_AT_accessibility.
123123
uint16_t InlineCode : 2; // DW_AT_inline.
124124
uint16_t VirtualityCode : 2; // DW_AT_virtuality.

0 commit comments

Comments
 (0)