llvm/llvm/lib/DebugInfo/PDB/Native/NamedStreamMap.cpp

//===- NamedStreamMap.cpp - PDB Named Stream Map --------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/DebugInfo/PDB/Native/NamedStreamMap.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/PDB/Native/Hash.h"
#include "llvm/DebugInfo/PDB/Native/HashTable.h"
#include "llvm/DebugInfo/PDB/Native/RawError.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include <algorithm>
#include <cassert>
#include <cstdint>

usingnamespacellvm;
usingnamespacellvm::pdb;

NamedStreamMapTraits::NamedStreamMapTraits(NamedStreamMap &NS) :{}

uint16_t NamedStreamMapTraits::hashLookupKey(StringRef S) const {}

StringRef NamedStreamMapTraits::storageKeyToLookupKey(uint32_t Offset) const {}

uint32_t NamedStreamMapTraits::lookupKeyToStorageKey(StringRef S) {}

NamedStreamMap::NamedStreamMap() :{}

Error NamedStreamMap::load(BinaryStreamReader &Stream) {}

Error NamedStreamMap::commit(BinaryStreamWriter &Writer) const {}

uint32_t NamedStreamMap::calculateSerializedLength() const {}

uint32_t NamedStreamMap::size() const {}

StringRef NamedStreamMap::getString(uint32_t Offset) const {}

uint32_t NamedStreamMap::hashString(uint32_t Offset) const {}

bool NamedStreamMap::get(StringRef Stream, uint32_t &StreamNo) const {}

StringMap<uint32_t> NamedStreamMap::entries() const {}

uint32_t NamedStreamMap::appendStringData(StringRef S) {}

void NamedStreamMap::set(StringRef Stream, uint32_t StreamNo) {}