llvm/llvm/lib/DebugInfo/CodeView/TypeHashing.cpp

//===- TypeHashing.cpp -------------------------------------------*- C++-*-===//
//
// 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/TypeHashing.h"

#include "llvm/DebugInfo/CodeView/TypeIndexDiscovery.h"
#include "llvm/Support/BLAKE3.h"

usingnamespacellvm;
usingnamespacellvm::codeview;

LocallyHashedType DenseMapInfo<LocallyHashedType>::Empty{};
LocallyHashedType DenseMapInfo<LocallyHashedType>::Tombstone{};

static std::array<uint8_t, 8> EmptyHash =;
static std::array<uint8_t, 8> TombstoneHash =;

GloballyHashedType DenseMapInfo<GloballyHashedType>::Empty{};
GloballyHashedType DenseMapInfo<GloballyHashedType>::Tombstone{};

LocallyHashedType LocallyHashedType::hashType(ArrayRef<uint8_t> RecordData) {}

GloballyHashedType
GloballyHashedType::hashType(ArrayRef<uint8_t> RecordData,
                             ArrayRef<GloballyHashedType> PreviousTypes,
                             ArrayRef<GloballyHashedType> PreviousIds) {}