[Lldb-commits] [PATCH] Force iteration over FieldDecls and RecordDecls in deterministic order.
scallanan at apple.com
Tue Mar 24 10:15:12 PDT 2015
As an aside, when laying out a RecordDecl, you have the ordering for its fields right in the RecordDecl. If MicrosoftRecordLayoutBuilder relying on the llvm::DenseMap for ordering, I think it's MicrosoftRecordLayoutBuilder that has the bug. By my understanding of how record layout works, it should only be using the map to go from fields/bases to offsets – nothing else.
More information about the lldb-commits