LLVM  6.0.0svn
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:
Inheritance graph
[legend]
Collaboration diagram for llvm::codeview::DebugStringTableSubsection:
Collaboration graph
[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::DebugStringTableSubsection ( )

Definition at line 45 of file DebugStringTableSubsection.cpp.

Member Function Documentation

◆ begin()

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

◆ calculateSerializedSize()

uint32_t DebugStringTableSubsection::calculateSerializedSize ( ) const
overridevirtual

Implements llvm::codeview::DebugSubsection.

Definition at line 58 of file DebugStringTableSubsection.cpp.

◆ classof()

static bool llvm::codeview::DebugStringTableSubsection::classof ( const DebugSubsection S)
inlinestatic

◆ commit()

Error DebugStringTableSubsection::commit ( BinaryStreamWriter Writer) const
overridevirtual

◆ end()

StringMap<uint32_t>::const_iterator llvm::codeview::DebugStringTableSubsection::end ( ) const
inline

◆ getStringId()

uint32_t DebugStringTableSubsection::getStringId ( StringRef  S) const

◆ insert()

uint32_t DebugStringTableSubsection::insert ( StringRef  S)

◆ size()

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: