[PATCH] D18918: [DebugInfo] Try to make class memory layout more efficient
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 17:18:02 PDT 2016
aprantl added inline comments.
================
Comment at: include/llvm/IR/DebugInfoMetadata.h:1257
@@ +1256,3 @@
+ IsDefinition(IsDefinition), IsOptimized(IsOptimized) {
+ assert(Virtuality < 4 && "Virtuality out of range");
+ }
----------------
Should we also have a static assert that log2(DW_VIRTUALITY_max) < 4 here?
http://reviews.llvm.org/D18918
More information about the llvm-commits
mailing list