llvm/llvm/lib/DebugInfo/CodeView/SimpleTypeSerializer.cpp

//===- SimpleTypeSerializer.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/SimpleTypeSerializer.h"
#include "llvm/DebugInfo/CodeView/CVRecord.h"
#include "llvm/DebugInfo/CodeView/RecordSerialization.h"
#include "llvm/DebugInfo/CodeView/TypeRecordMapping.h"
#include "llvm/Support/BinaryStreamWriter.h"

usingnamespacellvm;
usingnamespacellvm::codeview;

static void addPadding(BinaryStreamWriter &Writer) {}

SimpleTypeSerializer::SimpleTypeSerializer() :{}

SimpleTypeSerializer::~SimpleTypeSerializer() = default;

template <typename T>
ArrayRef<uint8_t> SimpleTypeSerializer::serialize(T &Record) {}

// Explicitly instantiate the member function for each known type so that we can
// implement this in the cpp file.
#define TYPE_RECORD
#define TYPE_RECORD_ALIAS
#define MEMBER_RECORD
#define MEMBER_RECORD_ALIAS
#include "llvm/DebugInfo/CodeView/CodeViewTypes.def"