LLVM
8.0.1
|
#include "llvm/DebugInfo/CodeView/CodeViewRecordIO.h"
Definition at line 30 of file CodeViewRecordIO.h.
|
inlineexplicit |
Definition at line 36 of file CodeViewRecordIO.h.
|
inlineexplicit |
Definition at line 37 of file CodeViewRecordIO.h.
References beginRecord(), endRecord(), and mapInteger().
Definition at line 19 of file CodeViewRecordIO.cpp.
References llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::Error::success().
Referenced by CodeViewRecordIO().
Error CodeViewRecordIO::endRecord | ( | ) |
Definition at line 27 of file CodeViewRecordIO.cpp.
References assert(), llvm::SmallVectorBase::empty(), llvm::SmallVectorTemplateBase< T, bool >::pop_back(), and llvm::Error::success().
Referenced by CodeViewRecordIO().
|
inline |
Definition at line 44 of file CodeViewRecordIO.h.
Referenced by isWriting(), mapEnum(), and padToAlignment().
|
inline |
Definition at line 45 of file CodeViewRecordIO.h.
References isReading(), and maxFieldLength().
Referenced by mapByteVectorTail(), mapEncodedInteger(), mapEnum(), mapGuid(), mapInteger(), mapNameAndUniqueName(), mapObject(), mapStringZ(), mapStringZVectorZ(), mapVectorN(), mapVectorTail(), and skipPadding().
Definition at line 81 of file CodeViewRecordIO.cpp.
References llvm::BinaryStreamReader::bytesRemaining(), llvm::codeview::EC, isWriting(), llvm::BinaryStreamReader::readBytes(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeBytes().
Referenced by mapByteVectorTail(), and mapVectorTail().
Error CodeViewRecordIO::mapByteVectorTail | ( | std::vector< uint8_t > & | Bytes | ) |
Definition at line 92 of file CodeViewRecordIO.cpp.
References llvm::ArrayRef< T >::begin(), llvm::codeview::EC, llvm::ArrayRef< T >::end(), isWriting(), mapByteVectorTail(), and llvm::Error::success().
Error CodeViewRecordIO::mapEncodedInteger | ( | int64_t & | Value | ) |
Definition at line 116 of file CodeViewRecordIO.cpp.
References llvm::codeview::consume(), llvm::codeview::EC, llvm::APSInt::getExtValue(), isWriting(), N, and llvm::Error::success().
Referenced by mapEnum().
Error CodeViewRecordIO::mapEncodedInteger | ( | uint64_t & | Value | ) |
Definition at line 135 of file CodeViewRecordIO.cpp.
References llvm::codeview::consume(), llvm::codeview::EC, llvm::APInt::getZExtValue(), isWriting(), N, and llvm::Error::success().
Definition at line 148 of file CodeViewRecordIO.cpp.
References llvm::codeview::consume(), llvm::APInt::getSExtValue(), llvm::APInt::getZExtValue(), llvm::APSInt::isSigned(), and isWriting().
Definition at line 67 of file CodeViewRecordIO.h.
References llvm::codeview::EC, llvm::codeview::insufficient_buffer, isReading(), isWriting(), mapEncodedInteger(), mapGuid(), mapInteger(), mapStringZ(), mapStringZVectorZ(), maxFieldLength(), llvm::Error::success(), and X.
Definition at line 171 of file CodeViewRecordIO.cpp.
References llvm::ArrayRef< T >::data(), llvm::codeview::EC, llvm::codeview::GUID::Guid, llvm::codeview::insufficient_buffer, isWriting(), maxFieldLength(), llvm::Intrinsic::memcpy, llvm::BinaryStreamReader::readBytes(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeBytes().
Referenced by mapEnum().
Definition at line 102 of file CodeViewRecordIO.cpp.
References llvm::codeview::EC, llvm::codeview::TypeIndex::getIndex(), I, isWriting(), llvm::BinaryStreamReader::readInteger(), llvm::codeview::TypeIndex::setIndex(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeInteger().
Referenced by CodeViewRecordIO(), mapEnum(), and mapLocalVariableAddrRange().
Definition at line 60 of file CodeViewRecordIO.h.
References isWriting(), llvm::BinaryStreamReader::readInteger(), and llvm::BinaryStreamWriter::writeInteger().
Definition at line 49 of file CodeViewRecordIO.h.
References llvm::codeview::EC, isWriting(), llvm::BinaryStreamReader::readObject(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeObject().
Definition at line 158 of file CodeViewRecordIO.cpp.
References llvm::codeview::EC, isWriting(), maxFieldLength(), llvm::BinaryStreamReader::readCString(), llvm::Error::success(), llvm::StringRef::take_front(), and llvm::BinaryStreamWriter::writeCString().
Referenced by mapEnum(), mapNameAndUniqueName(), and mapStringZVectorZ().
Definition at line 188 of file CodeViewRecordIO.cpp.
References assert(), llvm::codeview::EC, llvm::StringRef::empty(), isWriting(), mapStringZ(), llvm::max(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeInteger().
Referenced by mapEnum().
|
inline |
Definition at line 92 of file CodeViewRecordIO.h.
References llvm::codeview::EC, I, isWriting(), llvm::BinaryStreamReader::readInteger(), Size, llvm::Error::success(), llvm::BinaryStreamWriter::writeInteger(), and X.
|
inline |
Definition at line 118 of file CodeViewRecordIO.h.
References llvm::AMDGPU::HSAMD::Kernel::Arg::Key::Align, assert(), llvm::codeview::EC, llvm::BinaryStreamReader::empty(), llvm::tgtok::Field, llvm::Optional< T >::hasValue(), isWriting(), mapByteVectorTail(), llvm::codeview::None, padToAlignment(), llvm::BinaryStreamReader::peek(), skipPadding(), and llvm::Error::success().
uint32_t CodeViewRecordIO::maxFieldLength | ( | ) | const |
Definition at line 41 of file CodeViewRecordIO.cpp.
References assert(), llvm::SmallVectorBase::empty(), llvm::SmallVectorTemplateCommon< T, typename >::front(), llvm::Optional< T >::hasValue(), llvm::makeArrayRef(), and X.
Referenced by isWriting(), mapEnum(), mapGuid(), mapNameAndUniqueName(), and mapStringZ().
Definition at line 60 of file CodeViewRecordIO.cpp.
References isReading(), llvm::BinaryStreamWriter::padToAlignment(), and llvm::BinaryStreamReader::padToAlignment().
Referenced by mapVectorTail().
Error CodeViewRecordIO::skipPadding | ( | ) |
Definition at line 66 of file CodeViewRecordIO.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), isWriting(), llvm::BinaryStreamReader::peek(), llvm::BinaryStreamReader::skip(), and llvm::Error::success().
Referenced by mapVectorTail().