#include "llvm/MC/StringTableBuilder.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/CachedHashString.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <utility>
#include <vector>
usingnamespacellvm;
StringTableBuilder::~StringTableBuilder() = default;
void StringTableBuilder::initSize() { … }
StringTableBuilder::StringTableBuilder(Kind K, Align Alignment)
: … { … }
void StringTableBuilder::write(raw_ostream &OS) const { … }
StringPair;
void StringTableBuilder::write(uint8_t *Buf) const { … }
static int charTailAt(StringPair *P, size_t Pos) { … }
static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { … }
void StringTableBuilder::finalize() { … }
void StringTableBuilder::finalizeInOrder() { … }
void StringTableBuilder::finalizeStringTable(bool Optimize) { … }
void StringTableBuilder::clear() { … }
size_t StringTableBuilder::getOffset(CachedHashStringRef S) const { … }
size_t StringTableBuilder::add(CachedHashStringRef S) { … }