LLVM  5.0.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::codeview::DebugStringTableSubsection Class Reference

Represents a read-write view of a CodeView string table. More...

#include "llvm/DebugInfo/CodeView/DebugStringTableSubsection.h"

Inheritance diagram for llvm::codeview::DebugStringTableSubsection:
[legend]
Collaboration diagram for llvm::codeview::DebugStringTableSubsection:
[legend]

Public Member Functions

 DebugStringTableSubsection ()
 
uint32_t insert (StringRef S)
 
uint32_t getStringId (StringRef S) const
 
uint32_t calculateSerializedSize () const override
 
Error commit (BinaryStreamWriter &Writer) const override
 
uint32_t size () const
 
StringMap< uint32_t >
::const_iterator 
begin () const
 
StringMap< uint32_t >
::const_iterator 
end () const
 
- Public Member Functions inherited from llvm::codeview::DebugSubsection
 DebugSubsection (DebugSubsectionKind Kind)
 
virtual ~DebugSubsection ()
 
DebugSubsectionKind kind () const
 

Static Public Member Functions

static bool classof (const DebugSubsection *S)
 
- Static Public Member Functions inherited from llvm::codeview::DebugSubsection
static bool classof (const DebugSubsection *S)
 

Additional Inherited Members

- Protected Attributes inherited from llvm::codeview::DebugSubsection
DebugSubsectionKind Kind
 

Detailed Description

Represents a read-write view of a CodeView string table.

DebugStringTableSubsection owns the underlying storage for the table, and is capable of serializing the string table into a format understood by DebugStringTableSubsectionRef.

Definition at line 56 of file DebugStringTableSubsection.h.

Constructor & Destructor Documentation

DebugStringTableSubsection::DebugStringTableSubsection ( )

Definition at line 45 of file DebugStringTableSubsection.cpp.

References llvm::codeview::StringTable.

Member Function Documentation

StringMap<uint32_t>::const_iterator llvm::codeview::DebugStringTableSubsection::begin ( ) const
inline
uint32_t DebugStringTableSubsection::calculateSerializedSize ( ) const
overridevirtual

Implements llvm::codeview::DebugSubsection.

Definition at line 58 of file DebugStringTableSubsection.cpp.

static bool llvm::codeview::DebugStringTableSubsection::classof ( const DebugSubsection *  S)
inlinestatic
Error DebugStringTableSubsection::commit ( BinaryStreamWriter &  Writer) const
overridevirtual
StringMap<uint32_t>::const_iterator llvm::codeview::DebugStringTableSubsection::end ( ) const
inline
uint32_t DebugStringTableSubsection::getStringId ( StringRef  S) const
uint32_t DebugStringTableSubsection::insert ( StringRef  S)
uint32_t DebugStringTableSubsection::size ( ) const

Definition at line 84 of file DebugStringTableSubsection.cpp.

References llvm::StringMapImpl::size().


The documentation for this class was generated from the following files: