|
LLVM
10.0.0
|
#include "llvm/DebugInfo/CodeView/CodeViewRecordIO.h"
Definition at line 42 of file CodeViewRecordIO.h.
|
inlineexplicit |
Definition at line 54 of file CodeViewRecordIO.h.
|
inlineexplicit |
Definition at line 57 of file CodeViewRecordIO.h.
|
inlineexplicit |
Definition at line 60 of file CodeViewRecordIO.h.
Definition at line 18 of file CodeViewRecordIO.cpp.
References llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::Error::success().
Definition at line 212 of file CodeViewRecordIO.h.
References assert(), llvm::Optional< T >::hasValue(), llvm::Twine::isTriviallyEmpty(), and llvm::codeview::None.
| Error CodeViewRecordIO::endRecord | ( | ) |
Definition at line 26 of file CodeViewRecordIO.cpp.
References llvm::AMDGPU::HSAMD::Kernel::Arg::Key::Align, assert(), llvm::codeview::CodeViewRecordStreamer::EmitBytes(), llvm::SmallVectorBase::empty(), getStreamedLen(), isStreaming(), llvm::SmallVectorTemplateBase< T, bool >::pop_back(), and llvm::Error::success().
|
inline |
Definition at line 206 of file CodeViewRecordIO.h.
Referenced by endRecord().
|
inline |
Definition at line 71 of file CodeViewRecordIO.h.
Referenced by mapStringZVectorZ(), and padToAlignment().
|
inline |
Definition at line 68 of file CodeViewRecordIO.h.
Referenced by endRecord(), mapByteVectorTail(), mapEncodedInteger(), mapGuid(), mapInteger(), mapStringZ(), and maxFieldLength().
|
inline |
Definition at line 74 of file CodeViewRecordIO.h.
Referenced by mapByteVectorTail(), mapEncodedInteger(), mapGuid(), mapInteger(), mapNameAndUniqueName(), mapStringZ(), and skipPadding().
| Error CodeViewRecordIO::mapByteVectorTail | ( | ArrayRef< uint8_t > & | Bytes, |
| const Twine & | Comment = "" |
||
| ) |
Definition at line 100 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::toStringRef(), and llvm::BinaryStreamWriter::writeBytes().
Referenced by mapByteVectorTail().
| Error CodeViewRecordIO::mapByteVectorTail | ( | std::vector< uint8_t > & | Bytes, |
| const Twine & | Comment = "" |
||
| ) |
Definition at line 116 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 148 of file CodeViewRecordIO.cpp.
References llvm::codeview::consume(), llvm::codeview::EC, llvm::APSInt::getExtValue(), isStreaming(), isWriting(), N, and llvm::Error::success().
Definition at line 173 of file CodeViewRecordIO.cpp.
References llvm::codeview::consume(), llvm::codeview::EC, llvm::APInt::getZExtValue(), isStreaming(), isWriting(), N, and llvm::Error::success().
Definition at line 189 of file CodeViewRecordIO.cpp.
References llvm::codeview::consume(), llvm::APInt::getSExtValue(), llvm::APInt::getZExtValue(), llvm::APSInt::isSigned(), isStreaming(), isWriting(), and llvm::Error::success().
|
inline |
Definition at line 113 of file CodeViewRecordIO.h.
References llvm::codeview::EC, llvm::codeview::insufficient_buffer, llvm::Error::success(), and X.
Definition at line 222 of file CodeViewRecordIO.cpp.
References llvm::ArrayRef< T >::data(), llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::EmitBytes(), llvm::codeview::GUID::Guid, llvm::codeview::insufficient_buffer, isStreaming(), isWriting(), maxFieldLength(), llvm::BinaryStreamReader::readBytes(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeBytes().
Definition at line 127 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 mapLocalVariableAddrRange(), and mapStringZVectorZ().
|
inline |
Definition at line 99 of file CodeViewRecordIO.h.
References llvm::Error::success().
Definition at line 80 of file CodeViewRecordIO.h.
References llvm::codeview::EC, and llvm::Error::success().
Definition at line 204 of file CodeViewRecordIO.cpp.
References llvm::StringRef::data(), llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::EmitBytes(), isStreaming(), isWriting(), maxFieldLength(), llvm::BinaryStreamReader::readCString(), llvm::StringRef::size(), llvm::Error::success(), llvm::StringRef::take_front(), and llvm::BinaryStreamWriter::writeCString().
Referenced by mapNameAndUniqueName(), and mapStringZVectorZ().
| Error CodeViewRecordIO::mapStringZVectorZ | ( | std::vector< StringRef > & | Value, |
| const Twine & | Comment = "" |
||
| ) |
Definition at line 249 of file CodeViewRecordIO.cpp.
References assert(), llvm::codeview::EC, llvm::codeview::CodeViewRecordStreamer::EmitIntValue(), llvm::StringRef::empty(), isReading(), mapInteger(), mapStringZ(), llvm::max(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeInteger().
|
inline |
Definition at line 142 of file CodeViewRecordIO.h.
References llvm::codeview::EC, I, Size, llvm::Error::success(), and X.
|
inline |
Definition at line 179 of file CodeViewRecordIO.h.
References llvm::codeview::EC, llvm::tgtok::Field, and llvm::Error::success().
| uint32_t CodeViewRecordIO::maxFieldLength | ( | ) | const |
Definition at line 57 of file CodeViewRecordIO.cpp.
References assert(), llvm::SmallVectorBase::empty(), llvm::SmallVectorTemplateCommon< T, typename >::front(), llvm::Optional< T >::hasValue(), isStreaming(), llvm::makeArrayRef(), and X.
Referenced by mapGuid(), mapNameAndUniqueName(), and mapStringZ().
Definition at line 79 of file CodeViewRecordIO.cpp.
References isReading(), llvm::BinaryStreamWriter::padToAlignment(), and llvm::BinaryStreamReader::padToAlignment().
| Error CodeViewRecordIO::skipPadding | ( | ) |
Definition at line 85 of file CodeViewRecordIO.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), isWriting(), llvm::BinaryStreamReader::peek(), llvm::BinaryStreamReader::skip(), and llvm::Error::success().
1.8.13