llvm/llvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp

//===- GlobalTypeTableBuilder.cpp -----------------------------------------===//
//
// 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/CodeView/GlobalTypeTableBuilder.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h"
#include "llvm/DebugInfo/CodeView/TypeIndex.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include <cstdint>
#include <cstring>

usingnamespacellvm;
usingnamespacellvm::codeview;

TypeIndex GlobalTypeTableBuilder::nextTypeIndex() const {}

GlobalTypeTableBuilder::GlobalTypeTableBuilder(BumpPtrAllocator &Storage)
    :{}

GlobalTypeTableBuilder::~GlobalTypeTableBuilder() = default;

std::optional<TypeIndex> GlobalTypeTableBuilder::getFirst() {}

std::optional<TypeIndex> GlobalTypeTableBuilder::getNext(TypeIndex Prev) {}

CVType GlobalTypeTableBuilder::getType(TypeIndex Index) {}

StringRef GlobalTypeTableBuilder::getTypeName(TypeIndex Index) {}

bool GlobalTypeTableBuilder::contains(TypeIndex Index) {}

uint32_t GlobalTypeTableBuilder::size() {}

uint32_t GlobalTypeTableBuilder::capacity() {}

ArrayRef<ArrayRef<uint8_t>> GlobalTypeTableBuilder::records() const {}

ArrayRef<GloballyHashedType> GlobalTypeTableBuilder::hashes() const {}

void GlobalTypeTableBuilder::reset() {}

static inline ArrayRef<uint8_t> stabilize(BumpPtrAllocator &Alloc,
                                          ArrayRef<uint8_t> Data) {}

TypeIndex GlobalTypeTableBuilder::insertRecordBytes(ArrayRef<uint8_t> Record) {}

TypeIndex
GlobalTypeTableBuilder::insertRecord(ContinuationRecordBuilder &Builder) {}

bool GlobalTypeTableBuilder::replaceType(TypeIndex &Index, CVType Data,
                                         bool Stabilize) {}