Searched refs:RecordPrefix (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSimpleTypeSerializer.cpp40 RecordPrefix DummyPrefix(uint16_t(Record.getKind()));
43 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data());
44 CVType CVT(Prefix, sizeof(RecordPrefix));
H A DContinuationRecordBuilder.cpp17 RecordPrefix Prefix;
70 RecordPrefix Prefix(getTypeLeafKind(RecordKind));
111 // gotten a RecordPrefix injected, and that RecordPrefix + the member we
114 assert(getCurrentSegmentLength() == MemberLength + sizeof(RecordPrefix));
156 // Write the length to the RecordPrefix, making sure it does not include
157 // sizeof(RecordPrefix.Length)
158 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(Data.data());
159 Prefix->RecordLen = Data.size() - sizeof(RecordPrefix
[all...]
H A DTypeHashing.cpp41 S.update(RecordData.take_front(sizeof(RecordPrefix)));
42 RecordData = RecordData.drop_front(sizeof(RecordPrefix));
H A DTypeIndexDiscovery.cpp469 RecordData = RecordData.drop_front(sizeof(RecordPrefix));
494 const RecordPrefix *P =
495 reinterpret_cast<const RecordPrefix *>(RecordData.data());
497 ::discoverTypeIndices(RecordData.drop_front(sizeof(RecordPrefix)), K, Refs);
508 const RecordPrefix *P =
509 reinterpret_cast<const RecordPrefix *>(RecordData.data());
511 return ::discoverTypeIndices(RecordData.drop_front(sizeof(RecordPrefix)), K,
H A DTypeStreamMerger.cpp404 uint8_t *DestContent = Storage.data() + sizeof(RecordPrefix);
420 RecordPrefix *StorageHeader =
421 reinterpret_cast<RecordPrefix *>(Storage.data());
H A DTypeRecordMapping.cpp197 MaxLen = MaxRecordLength - sizeof(RecordPrefix);
239 error(IO.beginRecord(MaxRecordLength - sizeof(RecordPrefix) -
H A DSymbolRecordMapping.cpp37 error(IO.beginRecord(MaxRecordLength - sizeof(RecordPrefix)));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCVRecord.h36 CVRecord(const RecordPrefix *P, size_t Size)
44 if (RecordData.size() < sizeof(RecordPrefix))
47 reinterpret_cast<const RecordPrefix *>(RecordData.data())->RecordKind));
58 return RecordData.drop_front(sizeof(RecordPrefix));
74 if (StreamBuffer.size() < sizeof(RecordPrefix))
77 const RecordPrefix *Prefix =
78 reinterpret_cast<const RecordPrefix *>(StreamBuffer.data());
98 const RecordPrefix *Prefix = nullptr;
H A DSymbolSerializer.h40 RecordPrefix Prefix;
54 RecordPrefix Prefix{uint16_t(Sym.Kind)};
H A DTypeDeserializer.h56 const RecordPrefix *Prefix =
57 reinterpret_cast<const RecordPrefix *>(Data.data());
114 RecordPrefix Pre(static_cast<uint16_t>(TypeLeafKind::LF_FIELDLIST));
120 RecordPrefix Pre(static_cast<uint16_t>(TypeLeafKind::LF_FIELDLIST));
H A DRecordSerialization.h30 /// RecordPrefix. MSVC does not emit any records larger than this.
33 struct RecordPrefix { struct
34 RecordPrefix() = default;
35 explicit RecordPrefix(uint16_t Kind) : RecordLen(2), RecordKind(Kind) {} function in struct:llvm::codeview::RecordPrefix
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp244 RecordPrefix Prefix;
245 uint32_t TotalLen = sizeof(RecordPrefix) + Data.size();
249 ::memcpy(Buffer, &Prefix, sizeof(RecordPrefix));
250 ::memcpy(Buffer + sizeof(RecordPrefix), Data.data(), Data.size());
256 Data = CVS.RecordData.drop_front(sizeof(RecordPrefix));
/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DPDB.cpp267 recordBytes.drop_front(sizeof(RecordPrefix));
326 const RecordPrefix *prefix =
327 reinterpret_cast<const RecordPrefix *>(recordData.data());
334 RecordPrefix *prefix = reinterpret_cast<RecordPrefix *>(recordData.data());
350 auto content = recordData.drop_front(sizeof(RecordPrefix));
392 auto *prefix = reinterpret_cast<RecordPrefix *>(newData.data());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DGSIStreamBuilder.cpp88 RecordPrefix Prefix;

Completed in 87 milliseconds