LLVM 20.0.0git
|
#include "llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h"
Public Member Functions | |
ContinuationRecordBuilder () | |
~ContinuationRecordBuilder () | |
void | begin (ContinuationRecordKind RecordKind) |
template<typename RecordType > | |
void | writeMemberType (RecordType &Record) |
std::vector< CVType > | end (TypeIndex Index) |
Definition at line 26 of file ContinuationRecordBuilder.h.
ContinuationRecordBuilder::ContinuationRecordBuilder | ( | ) |
Definition at line 46 of file ContinuationRecordBuilder.cpp.
void ContinuationRecordBuilder::begin | ( | ContinuationRecordKind | RecordKind | ) |
Definition at line 51 of file ContinuationRecordBuilder.cpp.
References assert(), llvm::cantFail(), llvm::SmallVectorImpl< T >::clear(), llvm::AppendingBinaryByteStream::clear(), llvm::codeview::FieldList, llvm::BinaryStreamWriter::getLength(), llvm::BinaryStreamWriter::getOffset(), getTypeLeafKind(), InjectFieldList(), InjectMethodOverloadList(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::BinaryStreamWriter::setOffset(), llvm::codeview::TypeRecordMapping::visitTypeBegin(), and llvm::BinaryStreamWriter::writeObject().
Referenced by ~ContinuationRecordBuilder().
Definition at line 173 of file ContinuationRecordBuilder.cpp.
References llvm::cantFail(), End, llvm::BinaryStreamWriter::getOffset(), getTypeLeafKind(), llvm::Offset, llvm::reverse(), llvm::SmallVectorBase< Size_T >::size(), and llvm::codeview::TypeRecordMapping::visitTypeEnd().
Referenced by llvm::codeview::AppendingTypeTableBuilder::insertRecord(), llvm::codeview::GlobalTypeTableBuilder::insertRecord(), llvm::codeview::MergingTypeTableBuilder::insertRecord(), and ~ContinuationRecordBuilder().
void ContinuationRecordBuilder::writeMemberType | ( | RecordType & | Record | ) |
Definition at line 78 of file ContinuationRecordBuilder.cpp.
References addPadding(), assert(), llvm::cantFail(), llvm::BinaryStreamWriter::getOffset(), llvm::codeview::CVMemberRecord::Kind, MaxSegmentLength, llvm::codeview::TypeRecordMapping::visitMemberBegin(), llvm::codeview::TypeRecordMapping::visitMemberEnd(), and llvm::BinaryStreamWriter::writeEnum().
Referenced by llvm::CodeViewYAML::detail::MemberRecordImpl< T >::writeTo().