class DebugStringTableSubsectionRef
Declaration
class DebugStringTableSubsectionRef : public DebugSubsectionRef { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:31
Inherits from: DebugSubsectionRef
Member Variables
Inherited from DebugSubsectionRef:
Method Overview
- public DebugStringTableSubsectionRef()
- public static bool classof(const llvm::codeview::DebugSubsectionRef * S)
- public llvm::BinaryStreamRef getBuffer() const
- public Expected<llvm::StringRef> getString(uint32_t Offset) const
- public llvm::Error initialize(llvm::BinaryStreamRef Contents)
- public llvm::Error initialize(llvm::BinaryStreamReader & Reader)
- public bool valid() const
Inherited from DebugSubsectionRef:
Methods
¶DebugStringTableSubsectionRef()
DebugStringTableSubsectionRef()
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:33
¶static bool classof(
const llvm::codeview::DebugSubsectionRef* S)
static bool classof(
const llvm::codeview::DebugSubsectionRef* S)
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:35
Parameters
- const llvm::codeview::DebugSubsectionRef* S
¶llvm::BinaryStreamRef getBuffer() const
llvm::BinaryStreamRef getBuffer() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:46
¶Expected<llvm::StringRef> getString(
uint32_t Offset) const
Expected<llvm::StringRef> getString(
uint32_t Offset) const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:42
Parameters
- uint32_t Offset
¶llvm::Error initialize(
llvm::BinaryStreamRef Contents)
llvm::Error initialize(
llvm::BinaryStreamRef Contents)
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:39
Parameters
- llvm::BinaryStreamRef Contents
¶llvm::Error initialize(
llvm::BinaryStreamReader& Reader)
llvm::Error initialize(
llvm::BinaryStreamReader& Reader)
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:40
Parameters
- llvm::BinaryStreamReader& Reader
¶bool valid() const
bool valid() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:44