[PATCH] D18918: [DebugInfo] Try to make class memory layout more efficient

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 10:16:33 PDT 2016


probinson added a subscriber: probinson.

================
Comment at: include/llvm/IR/DebugInfoMetadata.h:1237
@@ -1238,1 +1236,3 @@
+  bool IsDefinition:1;
+  bool IsOptimized:1;
 
----------------
MSVC starts a new container field every time you change the base type, so this won't pack the way you want on Windows.  Use unsigned as the base type in all of these.


http://reviews.llvm.org/D18918





More information about the llvm-commits mailing list