LLVM
8.0.1
|
Represents a read-only view of a CodeView string table. More...
#include "llvm/DebugInfo/CodeView/DebugStringTableSubsection.h"
Public Member Functions | |
DebugStringTableSubsectionRef () | |
Error | initialize (BinaryStreamRef Contents) |
Error | initialize (BinaryStreamReader &Reader) |
Expected< StringRef > | getString (uint32_t Offset) const |
bool | valid () const |
BinaryStreamRef | getBuffer () const |
Public Member Functions inherited from llvm::codeview::DebugSubsectionRef | |
DebugSubsectionRef (DebugSubsectionKind Kind) | |
virtual | ~DebugSubsectionRef () |
DebugSubsectionKind | kind () const |
Static Public Member Functions | |
static bool | classof (const DebugSubsectionRef *S) |
Static Public Member Functions inherited from llvm::codeview::DebugSubsectionRef | |
static bool | classof (const DebugSubsectionRef *S) |
Additional Inherited Members | |
Protected Attributes inherited from llvm::codeview::DebugSubsectionRef | |
DebugSubsectionKind | Kind |
Represents a read-only view of a CodeView string table.
This is a very simple flat buffer consisting of null-terminated strings, where strings are retrieved by their offset in the buffer. DebugStringTableSubsectionRef does not own the underlying storage for the buffer.
Definition at line 32 of file DebugStringTableSubsection.h.
DebugStringTableSubsectionRef::DebugStringTableSubsectionRef | ( | ) |
Definition at line 23 of file DebugStringTableSubsection.cpp.
References llvm::codeview::StringTable.
|
inlinestatic |
Definition at line 36 of file DebugStringTableSubsection.h.
References getString(), initialize(), llvm::codeview::DebugSubsectionRef::kind(), and llvm::codeview::StringTable.
|
inline |
Definition at line 47 of file DebugStringTableSubsection.h.
Referenced by getFileName().
Definition at line 36 of file DebugStringTableSubsection.cpp.
References llvm::codeview::EC, llvm::BinaryStreamReader::readCString(), and llvm::BinaryStreamReader::setOffset().
Referenced by classof(), convertOneChecksum(), getFileName(), and getSymbolKindName().
Error DebugStringTableSubsectionRef::initialize | ( | BinaryStreamRef | Contents | ) |
Definition at line 26 of file DebugStringTableSubsection.cpp.
References llvm::Error::success().
Referenced by classof(), and llvm::codeview::visitDebugSubsection().
Error DebugStringTableSubsectionRef::initialize | ( | BinaryStreamReader & | Reader | ) |
Definition at line 31 of file DebugStringTableSubsection.cpp.
References llvm::BinaryStreamReader::readStreamRef().
|
inline |
Definition at line 45 of file DebugStringTableSubsection.h.
References llvm::BinaryStreamRefBase< RefType, StreamType >::valid().