|
LLVM
5.0.0
|
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 | 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 |
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.
| DebugStringTableSubsection::DebugStringTableSubsection | ( | ) |
Definition at line 45 of file DebugStringTableSubsection.cpp.
References llvm::codeview::StringTable.
|
inline |
Definition at line 76 of file DebugStringTableSubsection.h.
References llvm::StringMap< ValueTy, AllocatorTy >::begin().
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 58 of file DebugStringTableSubsection.cpp.
|
inlinestatic |
Definition at line 60 of file DebugStringTableSubsection.h.
References llvm::codeview::DebugSubsection::kind(), and llvm::codeview::StringTable.
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 62 of file DebugStringTableSubsection.cpp.
References assert(), llvm::codeview::EC, llvm::WebAssembly::End, llvm::BinaryStreamWriter::getOffset(), llvm::BinaryStreamWriter::setOffset(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeCString().
|
inline |
Definition at line 78 of file DebugStringTableSubsection.h.
References llvm::StringMap< ValueTy, AllocatorTy >::end().
Definition at line 86 of file DebugStringTableSubsection.cpp.
References assert(), llvm::StringMap< ValueTy, AllocatorTy >::end(), and llvm::StringMap< ValueTy, AllocatorTy >::find().
Referenced by llvm::codeview::DebugCrossModuleImportsSubsection::commit(), and llvm::codeview::DebugChecksumsSubsection::mapChecksumOffset().
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(), and llvm::codeview::DebugCrossModuleImportsSubsection::addImport().
| uint32_t DebugStringTableSubsection::size | ( | ) | const |
Definition at line 84 of file DebugStringTableSubsection.cpp.
References llvm::StringMapImpl::size().
1.8.6