diff options
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView')
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/TypeRecord.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/TypeRecord.cpp b/llvm/lib/DebugInfo/CodeView/TypeRecord.cpp index a7a1bb9228c..7a2dc8fa803 100644 --- a/llvm/lib/DebugInfo/CodeView/TypeRecord.cpp +++ b/llvm/lib/DebugInfo/CodeView/TypeRecord.cpp @@ -382,8 +382,8 @@ VirtualBaseClassRecord::deserialize(TypeRecordKind Kind, uint64_t Offset; uint64_t Index; CV_DESERIALIZE(Reader, L, CV_NUMERIC_FIELD(Offset), CV_NUMERIC_FIELD(Index)); - return VirtualBaseClassRecord(L->Attrs.getAccess(), L->BaseType, L->VBPtrType, - Offset, Index); + return VirtualBaseClassRecord(Kind, L->Attrs.getAccess(), L->BaseType, + L->VBPtrType, Offset, Index); } Expected<ListContinuationRecord> |