LLVM 20.0.0git
|
String tables in GSYM files are required to start with an empty string at offset zero. More...
#include "llvm/DebugInfo/GSYM/StringTable.h"
Public Member Functions | |
StringTable ()=default | |
StringTable (StringRef D) | |
StringRef | operator[] (size_t Offset) const |
StringRef | getString (uint32_t Offset) const |
void | clear () |
Public Attributes | |
StringRef | Data |
String tables in GSYM files are required to start with an empty string at offset zero.
Strings must be UTF8 NULL terminated strings.
Definition at line 21 of file StringTable.h.
|
default |
|
inline |
Definition at line 24 of file StringTable.h.
|
inline |
Definition at line 33 of file StringTable.h.
References Data.
Definition at line 26 of file StringTable.h.
References Data, End, llvm::StringRef::find(), llvm::Offset, llvm::StringRef::size(), and llvm::StringRef::substr().
Referenced by llvm::gsym::operator<<(), and operator[]().
|
inline |
Definition at line 25 of file StringTable.h.
References getString(), and llvm::Offset.
StringRef llvm::gsym::StringTable::Data |
Definition at line 22 of file StringTable.h.
Referenced by clear(), getString(), and llvm::gsym::operator<<().