|
LLVM
8.0.1
|
Represents a read-write view of a CodeView string table. More...
#include "llvm/DebugInfo/CodeView/DebugStringTableSubsection.h"


Public Member Functions | |
| DebugStringTableSubsection () | |
| uint32_t | insert (StringRef S) |
| uint32_t | getIdForString (StringRef S) const |
| StringRef | getStringForId (uint32_t Id) 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 |
| std::vector< uint32_t > | sortedIds () 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 |
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.
| DebugStringTableSubsection::DebugStringTableSubsection | ( | ) |
Definition at line 45 of file DebugStringTableSubsection.cpp.
|
inline |
Definition at line 79 of file DebugStringTableSubsection.h.
References llvm::StringMap< ValueTy, AllocatorTy >::begin().
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 61 of file DebugStringTableSubsection.cpp.
|
inlinestatic |
Definition at line 61 of file DebugStringTableSubsection.h.
References llvm::codeview::DebugSubsection::kind(), llvm::size(), and llvm::codeview::StringTable.
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 65 of file DebugStringTableSubsection.cpp.
References llvm::BinaryStreamWriter::getOffset().
|
inline |
Definition at line 83 of file DebugStringTableSubsection.h.
References llvm::StringMap< ValueTy, AllocatorTy >::end().
Definition at line 98 of file DebugStringTableSubsection.cpp.
References assert(), llvm::StringMap< ValueTy, AllocatorTy >::end(), and llvm::StringMap< ValueTy, AllocatorTy >::find().
Referenced by llvm::codeview::DebugChecksumsSubsection::mapChecksumOffset().
Definition at line 104 of file DebugStringTableSubsection.cpp.
References assert().
Definition at line 48 of file DebugStringTableSubsection.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::insert(), P, and llvm::StringRef::size().
Referenced by llvm::codeview::DebugChecksumsSubsection::addChecksum().
| uint32_t DebugStringTableSubsection::size | ( | ) | const |
Definition at line 87 of file DebugStringTableSubsection.cpp.
References llvm::StringMapImpl::size().
| std::vector< uint32_t > DebugStringTableSubsection::sortedIds | ( | ) | const |
Definition at line 89 of file DebugStringTableSubsection.cpp.
References llvm::sort().
1.8.13