#include "llvm/DebugInfo/CodeView/DebugStringTableSubsection.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/Error.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
usingnamespacellvm;
usingnamespacellvm::codeview;
DebugStringTableSubsectionRef::DebugStringTableSubsectionRef()
: … { … }
Error DebugStringTableSubsectionRef::initialize(BinaryStreamRef Contents) { … }
Error DebugStringTableSubsectionRef::initialize(BinaryStreamReader &Reader) { … }
Expected<StringRef>
DebugStringTableSubsectionRef::getString(uint32_t Offset) const { … }
DebugStringTableSubsection::DebugStringTableSubsection()
: … { … }
uint32_t DebugStringTableSubsection::insert(StringRef S) { … }
uint32_t DebugStringTableSubsection::calculateSerializedSize() const { … }
Error DebugStringTableSubsection::commit(BinaryStreamWriter &Writer) const { … }
uint32_t DebugStringTableSubsection::size() const { … }
std::vector<uint32_t> DebugStringTableSubsection::sortedIds() const { … }
uint32_t DebugStringTableSubsection::getIdForString(StringRef S) const { … }
StringRef DebugStringTableSubsection::getStringForId(uint32_t Id) const { … }