LLVM 20.0.0git
|
#include "llvm/DebugInfo/CodeView/CodeViewRecordIO.h"
Definition at line 43 of file CodeViewRecordIO.h.
|
inlineexplicit |
Definition at line 55 of file CodeViewRecordIO.h.
|
inlineexplicit |
Definition at line 58 of file CodeViewRecordIO.h.
|
inlineexplicit |
Definition at line 61 of file CodeViewRecordIO.h.
Definition at line 21 of file CodeViewRecordIO.cpp.
References llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::Error::success().
Referenced by llvm::codeview::TypeRecordMapping::visitMemberBegin(), llvm::codeview::SymbolRecordMapping::visitSymbolBegin(), and llvm::codeview::TypeRecordMapping::visitTypeBegin().
Definition at line 213 of file CodeViewRecordIO.h.
References llvm::codeview::CodeViewRecordStreamer::AddRawComment(), isStreaming(), and llvm::codeview::CodeViewRecordStreamer::isVerboseAsm().
Referenced by llvm::codeview::TypeRecordMapping::visitTypeBegin().
Error CodeViewRecordIO::endRecord | ( | ) |
Definition at line 29 of file CodeViewRecordIO.cpp.
References assert(), llvm::codeview::CodeViewRecordStreamer::emitBytes(), llvm::SmallVectorBase< Size_T >::empty(), getStreamedLen(), isStreaming(), llvm::SmallVectorTemplateBase< T, bool >::pop_back(), and llvm::Error::success().
Referenced by llvm::codeview::TypeRecordMapping::visitMemberEnd(), llvm::codeview::SymbolRecordMapping::visitSymbolEnd(), and llvm::codeview::TypeRecordMapping::visitTypeEnd().
|
inline |
Definition at line 207 of file CodeViewRecordIO.h.
References isStreaming().
Referenced by endRecord().
|
inline |
Definition at line 72 of file CodeViewRecordIO.h.
Referenced by mapEnum(), mapStringZVectorZ(), padToAlignment(), and llvm::codeview::TypeRecordMapping::visitMemberEnd().
|
inline |
Definition at line 69 of file CodeViewRecordIO.h.
Referenced by emitRawComment(), endRecord(), getStreamedLen(), mapByteVectorTail(), mapEncodedInteger(), mapEnum(), mapGuid(), mapInteger(), mapObject(), mapStringZ(), mapVectorN(), mapVectorTail(), maxFieldLength(), llvm::codeview::TypeRecordMapping::visitMemberBegin(), and llvm::codeview::TypeRecordMapping::visitTypeBegin().
|
inline |
Definition at line 75 of file CodeViewRecordIO.h.
Referenced by mapByteVectorTail(), mapEncodedInteger(), mapEnum(), mapGuid(), mapInteger(), mapNameAndUniqueName(), mapObject(), mapStringZ(), mapVectorN(), mapVectorTail(), and skipPadding().
Error CodeViewRecordIO::mapByteVectorTail | ( | ArrayRef< uint8_t > & | Bytes, |
const Twine & | Comment = "" |
||
) |
Definition at line 103 of file CodeViewRecordIO.cpp.
References llvm::BinaryStreamReader::bytesRemaining(), llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::emitBinaryData(), isStreaming(), isWriting(), llvm::BinaryStreamReader::readBytes(), llvm::ArrayRef< T >::size(), llvm::Error::success(), llvm::dwarf::toStringRef(), and llvm::BinaryStreamWriter::writeBytes().
Referenced by mapByteVectorTail().
Error CodeViewRecordIO::mapByteVectorTail | ( | std::vector< uint8_t > & | Bytes, |
const Twine & | Comment = "" |
||
) |
Definition at line 119 of file CodeViewRecordIO.cpp.
References llvm::ArrayRef< T >::begin(), llvm::codeview::EC, llvm::ArrayRef< T >::end(), isWriting(), mapByteVectorTail(), and llvm::Error::success().
Definition at line 192 of file CodeViewRecordIO.cpp.
References llvm::consume, INT64_MIN, isStreaming(), isWriting(), and llvm::Error::success().
Definition at line 151 of file CodeViewRecordIO.cpp.
References llvm::consume, llvm::codeview::EC, isStreaming(), isWriting(), N, and llvm::Error::success().
Definition at line 176 of file CodeViewRecordIO.cpp.
References llvm::consume, llvm::codeview::EC, isStreaming(), isWriting(), N, and llvm::Error::success().
|
inline |
Definition at line 114 of file CodeViewRecordIO.h.
References llvm::codeview::EC, llvm::codeview::insufficient_buffer, isReading(), isStreaming(), isWriting(), mapInteger(), maxFieldLength(), llvm::Error::success(), and X.
Referenced by llvm::codeview::TypeRecordMapping::visitMemberBegin(), and llvm::codeview::TypeRecordMapping::visitTypeBegin().
Definition at line 228 of file CodeViewRecordIO.cpp.
References llvm::ArrayRef< T >::data(), llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::emitBytes(), llvm::Guid, llvm::codeview::insufficient_buffer, isStreaming(), isWriting(), maxFieldLength(), llvm::BinaryStreamReader::readBytes(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeBytes().
|
inline |
Definition at line 100 of file CodeViewRecordIO.h.
References llvm::codeview::CodeViewRecordStreamer::emitIntValue(), isStreaming(), isWriting(), llvm::BinaryStreamReader::readInteger(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeInteger().
Definition at line 130 of file CodeViewRecordIO.cpp.
References llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::emitIntValue(), llvm::codeview::TypeIndex::getIndex(), llvm::codeview::CodeViewRecordStreamer::getTypeName(), I, isStreaming(), isWriting(), llvm::BinaryStreamReader::readInteger(), llvm::codeview::TypeIndex::setIndex(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeInteger().
Referenced by mapEnum(), mapLocalVariableAddrRange(), mapStringZVectorZ(), and llvm::codeview::TypeRecordMapping::visitTypeBegin().
Definition at line 81 of file CodeViewRecordIO.h.
References llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::emitBytes(), isStreaming(), isWriting(), llvm::BinaryStreamReader::readObject(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeObject().
Definition at line 210 of file CodeViewRecordIO.cpp.
References llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::emitBytes(), isStreaming(), isWriting(), maxFieldLength(), llvm::BinaryStreamReader::readCString(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeCString().
Referenced by mapNameAndUniqueName(), and mapStringZVectorZ().
Error CodeViewRecordIO::mapStringZVectorZ | ( | std::vector< StringRef > & | Value, |
const Twine & | Comment = "" |
||
) |
Definition at line 255 of file CodeViewRecordIO.cpp.
References llvm::codeview::EC, llvm::StringRef::empty(), isReading(), mapInteger(), mapStringZ(), and llvm::Error::success().
|
inline |
Definition at line 143 of file CodeViewRecordIO.h.
References llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::emitIntValue(), I, isStreaming(), isWriting(), llvm::BinaryStreamReader::readInteger(), Size, llvm::Error::success(), llvm::BinaryStreamWriter::writeInteger(), and X.
|
inline |
Definition at line 180 of file CodeViewRecordIO.h.
References llvm::codeview::EC, llvm::BinaryStreamReader::empty(), isStreaming(), isWriting(), llvm::BinaryStreamReader::peek(), and llvm::Error::success().
uint32_t CodeViewRecordIO::maxFieldLength | ( | ) | const |
Definition at line 60 of file CodeViewRecordIO.cpp.
References assert(), llvm::SmallVectorBase< Size_T >::empty(), llvm::SmallVectorTemplateCommon< T, typename >::front(), isStreaming(), llvm::Offset, and X.
Referenced by mapEnum(), mapGuid(), mapNameAndUniqueName(), and mapStringZ().
Definition at line 82 of file CodeViewRecordIO.cpp.
References isReading(), llvm::BinaryStreamReader::padToAlignment(), and llvm::BinaryStreamWriter::padToAlignment().
Referenced by llvm::codeview::SymbolRecordMapping::visitSymbolEnd().
Error CodeViewRecordIO::skipPadding | ( | ) |
Definition at line 88 of file CodeViewRecordIO.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), isWriting(), llvm::BinaryStreamReader::peek(), llvm::BinaryStreamReader::skip(), and llvm::Error::success().
Referenced by llvm::codeview::TypeRecordMapping::visitMemberEnd().