LLVM 22.0.0git
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]

Public Member Functions

Error  commit (BinaryStreamWriter &Writer) const override
std::vector< uint32_tsortedIds () const
Public Member Functions inherited from llvm::codeview::DebugSubsection
virtual  ~DebugSubsection ()

Static Public Member Functions

Static Public Member Functions inherited from llvm::codeview::DebugSubsection

Additional Inherited Members

Protected Attributes inherited from llvm::codeview::DebugSubsection

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 57 of file DebugStringTableSubsection.h.

Constructor & Destructor Documentation

◆  DebugStringTableSubsection()

DebugStringTableSubsection::DebugStringTableSubsection ( )

Definition at line 43 of file DebugStringTableSubsection.cpp.

References llvm::codeview::DebugSubsection::DebugSubsection(), and llvm::codeview::StringTable.

Member Function Documentation

◆  begin()

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

Definition at line 79 of file DebugStringTableSubsection.h.

References llvm::StringMap< ValueTy, AllocatorTy >::begin().

◆  calculateSerializedSize()

uint32_t DebugStringTableSubsection::calculateSerializedSize ( ) const
overridevirtual

Implements llvm::codeview::DebugSubsection.

Definition at line 59 of file DebugStringTableSubsection.cpp.

◆  classof()

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

Definition at line 61 of file DebugStringTableSubsection.h.

References llvm::codeview::DebugSubsection::DebugSubsection(), llvm::codeview::DebugSubsection::kind(), and llvm::codeview::StringTable.

◆  commit()

Error DebugStringTableSubsection::commit ( BinaryStreamWriter & Writer ) const
overridevirtual

Implements llvm::codeview::DebugSubsection.

Definition at line 63 of file DebugStringTableSubsection.cpp.

References assert(), llvm::codeview::EC, llvm::BinaryStreamWriter::getOffset(), llvm::Offset, llvm::BinaryStreamWriter::setOffset(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeCString().

◆  end()

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

Definition at line 83 of file DebugStringTableSubsection.h.

References llvm::StringMap< ValueTy, AllocatorTy >::end().

◆  getIdForString()

uint32_t DebugStringTableSubsection::getIdForString ( StringRef S ) const

Definition at line 96 of file DebugStringTableSubsection.cpp.

References assert().

◆  getStringForId()

StringRef DebugStringTableSubsection::getStringForId ( uint32_t Id ) const

Definition at line 102 of file DebugStringTableSubsection.cpp.

References assert(), and llvm::StringRef::find().

◆  insert()

uint32_t DebugStringTableSubsection::insert ( StringRef S )

Definition at line 46 of file DebugStringTableSubsection.cpp.

References P, and llvm::StringRef::size().

◆  size()

uint32_t DebugStringTableSubsection::size ( ) const

Definition at line 85 of file DebugStringTableSubsection.cpp.

◆  sortedIds()

std::vector< uint32_t > DebugStringTableSubsection::sortedIds ( ) const

Definition at line 87 of file DebugStringTableSubsection.cpp.

References llvm::sort().


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

Generated on for LLVM by doxygen 1.14.0

AltStyle によって変換されたページ (->オリジナル) /