llvm/llvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp

//===- AppendingTypeTableBuilder.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/AppendingTypeTableBuilder.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 AppendingTypeTableBuilder::nextTypeIndex() const {}

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

AppendingTypeTableBuilder::~AppendingTypeTableBuilder() = default;

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

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

CVType AppendingTypeTableBuilder::getType(TypeIndex Index){}

StringRef AppendingTypeTableBuilder::getTypeName(TypeIndex Index) {}

bool AppendingTypeTableBuilder::contains(TypeIndex Index) {}

uint32_t AppendingTypeTableBuilder::size() {}

uint32_t AppendingTypeTableBuilder::capacity() {}

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

void AppendingTypeTableBuilder::reset() {}

static ArrayRef<uint8_t> stabilize(BumpPtrAllocator &RecordStorage,
                                   ArrayRef<uint8_t> Record) {}

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

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

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