llvm/llvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp

//===- MergingTypeTableBuilder.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/MergingTypeTableBuilder.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h"
#include "llvm/DebugInfo/CodeView/TypeHashing.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 MergingTypeTableBuilder::nextTypeIndex() const {}

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

MergingTypeTableBuilder::~MergingTypeTableBuilder() = default;

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

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

CVType MergingTypeTableBuilder::getType(TypeIndex Index) {}

StringRef MergingTypeTableBuilder::getTypeName(TypeIndex Index) {}

bool MergingTypeTableBuilder::contains(TypeIndex Index) {}

uint32_t MergingTypeTableBuilder::size() {}

uint32_t MergingTypeTableBuilder::capacity() {}

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

void MergingTypeTableBuilder::reset() {}

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

TypeIndex MergingTypeTableBuilder::insertRecordAs(hash_code Hash,
                                                  ArrayRef<uint8_t> &Record) {}

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

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

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