LLVM: llvm::codeview::CodeViewRecordIO Class Reference (original) (raw)
#include "[llvm/DebugInfo/CodeView/CodeViewRecordIO.h](CodeViewRecordIO%5F8h%5Fsource.html)"
| Public Member Functions |
|
|
CodeViewRecordIO (BinaryStreamReader &Reader) |
|
CodeViewRecordIO (BinaryStreamWriter &Writer) |
|
CodeViewRecordIO (CodeViewRecordStreamer &Streamer) |
| LLVM_ABI Error |
beginRecord (std::optional< uint32_t > MaxLength) |
| LLVM_ABI Error |
endRecord () |
| LLVM_ABI Error |
mapInteger (TypeIndex &TypeInd, const Twine &Comment="") |
| bool |
isStreaming () const |
| bool |
isReading () const |
| bool |
isWriting () const |
| LLVM_ABI uint32_t |
maxFieldLength () const |
| template<typename T> |
|
| Error |
mapObject (T &Value) |
| template<typename T> |
|
| Error |
mapInteger (T &Value, const Twine &Comment="") |
| template<typename T> |
|
| Error |
mapEnum (T &Value, const Twine &Comment="") |
| LLVM_ABI Error |
mapEncodedInteger (int64_t &Value, const Twine &Comment="") |
| LLVM_ABI Error |
mapEncodedInteger (uint64_t &Value, const Twine &Comment="") |
| LLVM_ABI Error |
mapEncodedInteger (APSInt &Value, const Twine &Comment="") |
| LLVM_ABI Error |
mapStringZ (StringRef &Value, const Twine &Comment="") |
| LLVM_ABI Error |
mapGuid (GUID &Guid, const Twine &Comment="") |
| LLVM_ABI Error |
mapStringZVectorZ (std::vector< StringRef > &Value, const Twine &Comment="") |
| template<typename SizeType, typename T, typename ElementMapper> |
|
| Error |
mapVectorN (T &Items, const ElementMapper &Mapper, const Twine &Comment="") |
| template<typename T, typename ElementMapper> |
|
| Error |
mapVectorTail (T &Items, const ElementMapper &Mapper, const Twine &Comment="") |
| LLVM_ABI Error |
mapByteVectorTail (ArrayRef< uint8_t > &Bytes, const Twine &Comment="") |
| LLVM_ABI Error |
mapByteVectorTail (std::vector< uint8_t > &Bytes, const Twine &Comment="") |
| LLVM_ABI Error |
padToAlignment (uint32_t Align) |
| LLVM_ABI Error |
skipPadding () |
| uint64_t |
getStreamedLen () |
| void |
emitRawComment (const Twine &T) |
Definition at line 44 of file CodeViewRecordIO.h.
| llvm::codeview::CodeViewRecordIO::CodeViewRecordIO ( BinaryStreamReader & Reader) |
inlineexplicit |
◆ CodeViewRecordIO() [2/3]
| llvm::codeview::CodeViewRecordIO::CodeViewRecordIO ( BinaryStreamWriter & Writer) |
inlineexplicit |
◆ CodeViewRecordIO() [3/3]
◆ beginRecord()
| Error CodeViewRecordIO::beginRecord |
( |
std::optional< uint32_t > |
MaxLength |
) |
| void llvm::codeview::CodeViewRecordIO::emitRawComment ( const Twine & T) |
inline |
◆ endRecord()
| Error CodeViewRecordIO::endRecord |
( |
) |
◆ getStreamedLen()
| uint64_t llvm::codeview::CodeViewRecordIO::getStreamedLen ( ) |
inline |
◆ isReading()
| bool llvm::codeview::CodeViewRecordIO::isReading ( ) const |
inline |
◆ isStreaming()
| bool llvm::codeview::CodeViewRecordIO::isStreaming ( ) const |
inline |
Definition at line 70 of file CodeViewRecordIO.h.
Referenced by emitRawComment(), endRecord(), getStreamedLen(), mapByteVectorTail(), mapEncodedInteger(), mapEncodedInteger(), mapEncodedInteger(), mapEnum(), mapGuid(), mapInteger(), mapInteger(), mapObject(), mapStringZ(), mapVectorN(), mapVectorTail(), and maxFieldLength().
◆ isWriting()
| bool llvm::codeview::CodeViewRecordIO::isWriting ( ) const |
inline |
Definition at line 76 of file CodeViewRecordIO.h.
Referenced by mapByteVectorTail(), mapByteVectorTail(), mapEncodedInteger(), mapEncodedInteger(), mapEncodedInteger(), mapEnum(), mapGuid(), mapInteger(), mapInteger(), mapNameAndUniqueName(), mapObject(), mapStringZ(), mapVectorN(), mapVectorTail(), and skipPadding().
◆ mapByteVectorTail() [1/2]
◆ mapByteVectorTail() [2/2]
◆ mapEncodedInteger() [1/3]
◆ mapEncodedInteger() [2/3]
| Error CodeViewRecordIO::mapEncodedInteger |
( |
int64_t & |
Value, |
| const Twine & |
Comment = "" ) |
|
|
◆ mapEncodedInteger() [3/3]
◆ mapEnum()
template<typename T>
| Error llvm::codeview::CodeViewRecordIO::mapEnum ( T & Value, const Twine & Comment = "" ) |
inline |
Definition at line 115 of file CodeViewRecordIO.h.
References llvm::codeview::EC, llvm::codeview::insufficient_buffer, isReading(), isStreaming(), isWriting(), llvm::make_error(), mapInteger(), maxFieldLength(), llvm::Error::success(), T, and X.
◆ mapGuid()
◆ mapInteger() [1/2]
template<typename T>
| Error llvm::codeview::CodeViewRecordIO::mapInteger ( T & Value, const Twine & Comment = "" ) |
inline |
◆ mapInteger() [2/2]
◆ mapObject()
template<typename T>
| Error llvm::codeview::CodeViewRecordIO::mapObject ( T & Value) |
inline |
◆ mapStringZ()
◆ mapStringZVectorZ()
◆ mapVectorN()
template<typename SizeType, typename T, typename ElementMapper>
| Error llvm::codeview::CodeViewRecordIO::mapVectorN ( T & Items, const ElementMapper & Mapper, const Twine & Comment = "" ) |
inline |
◆ mapVectorTail()
template<typename T, typename ElementMapper>
| Error llvm::codeview::CodeViewRecordIO::mapVectorTail ( T & Items, const ElementMapper & Mapper, const Twine & Comment = "" ) |
inline |
◆ maxFieldLength()
| uint32_t CodeViewRecordIO::maxFieldLength |
( |
) |
const |
◆ padToAlignment()
◆ skipPadding()
| Error CodeViewRecordIO::skipPadding |
( |
) |
The documentation for this class was generated from the following files: