9#ifndef LLVM_DEBUGINFO_GSYM_STRINGTABLE_H
10#define LLVM_DEBUGINFO_GSYM_STRINGTABLE_H
39 OS <<
"String table:\n";
44 switch (StringOffsetSize) {
60 OS <<
": \"" << Str <<
"\"\n";
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
StringRef - Represent a constant reference to a string, i.e.
constexpr size_t size() const
size - Get the string size.
This class implements an extremely fast bulk output stream that can only output to a stream.
uint64_t gsym_strp_t
The type of string offset used in the code.
void dump(raw_ostream &OS, const StringTable &S, uint8_t StringOffsetSize)
This is an optimization pass for GlobalISel generic memory operations.
String tables in GSYM files are required to start with an empty string at offset zero.
StringRef getString(gsym_strp_t Offset) const
StringRef operator[](size_t Offset) const