LLVM 22.0.0git
|
In-memory representation of the string table parsed from a buffer (e.g. More...
#include "llvm/Remarks/RemarkParser.h"
Public Member Functions | |
LLVM_ABI | ParsedStringTable (StringRef Buffer) |
ParsedStringTable (const ParsedStringTable &)=delete | |
Disable copy. | |
ParsedStringTable & | operator= (const ParsedStringTable &)=delete |
ParsedStringTable (ParsedStringTable &&)=default | |
Should be movable. | |
ParsedStringTable & | operator= (ParsedStringTable &&)=default |
size_t | size () const |
LLVM_ABI Expected< StringRef > | operator[] (size_t Index) const |
Public Attributes | |
StringRef | Buffer |
The buffer mapped from the section contents. | |
std::vector< size_t > | Offsets |
This object has high changes to be std::move'd around, so don't use a SmallVector for once. |
In-memory representation of the string table parsed from a buffer (e.g.
the remarks section).
Definition at line 61 of file RemarkParser.h.
ParsedStringTable::ParsedStringTable | ( | StringRef | Buffer | ) |
Definition at line 27 of file RemarkParser.cpp.
References Buffer, and llvm::StringRef::empty().
Referenced by operator=(), operator=(), ParsedStringTable(), and ParsedStringTable().
|
delete |
Disable copy.
References ParsedStringTable().
|
default |
Should be movable.
References ParsedStringTable().
|
delete |
References ParsedStringTable().
|
default |
References ParsedStringTable().
Definition at line 37 of file RemarkParser.cpp.
References Buffer, llvm::createStringError(), llvm::Offset, and Offsets.
|
inline |
Definition at line 76 of file RemarkParser.h.
References Offsets.
StringRef llvm::remarks::ParsedStringTable::Buffer |
The buffer mapped from the section contents.
Definition at line 63 of file RemarkParser.h.
Referenced by operator[](), and ParsedStringTable().
std::vector<size_t> llvm::remarks::ParsedStringTable::Offsets |
This object has high changes to be std::move'd around, so don't use a SmallVector for once.
Definition at line 66 of file RemarkParser.h.
Referenced by operator[](), and size().