To make this work, we had to make restrict the usage of CVRecord to mean "record with length-specified prefix". This means CVRecord can no longer be used for field list members since they don't describe their own length and don't contain a prefix. So a new type is introduced called CVMemberTypeRecord, and then all the associated fallout is dealt with. Mostly this means changing all visitors to use separate methods for visiting CVRecords vs CVMemberTypeRecords, there's just a lot of it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/llvm/DebugInfo/CodeView/TypeRecord.h | ||
---|---|---|
33 ↗ | (On Diff #70917) | How about CVMemberRecord? It's consistent with MEMBER_RECORD vs TYPE_RECORD and visitKnownMember and visitKnownType. |