llvm/llvm/tools/llvm-pdbutil/BytesOutputStyle.cpp

//===- BytesOutputStyle.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 "BytesOutputStyle.h"

#include "StreamUtil.h"
#include "llvm-pdbutil.h"

#include "llvm/DebugInfo/CodeView/Formatters.h"
#include "llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h"
#include "llvm/DebugInfo/MSF/MSFCommon.h"
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
#include "llvm/DebugInfo/PDB/Native/FormatUtil.h"
#include "llvm/DebugInfo/PDB/Native/InfoStream.h"
#include "llvm/DebugInfo/PDB/Native/ModuleDebugStream.h"
#include "llvm/DebugInfo/PDB/Native/PDBFile.h"
#include "llvm/DebugInfo/PDB/Native/RawError.h"
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/FormatAdapters.h"
#include "llvm/Support/FormatVariadic.h"

usingnamespacellvm;
usingnamespacellvm::codeview;
usingnamespacellvm::msf;
usingnamespacellvm::pdb;

namespace {
struct StreamSpec {};
} // namespace

static Expected<StreamSpec> parseStreamSpec(StringRef Str) {}

static SmallVector<StreamSpec, 2> parseStreamSpecs(LinePrinter &P) {}

static void printHeader(LinePrinter &P, const Twine &S) {}

BytesOutputStyle::BytesOutputStyle(PDBFile &File)
    :{}

Error BytesOutputStyle::dump() {}

void BytesOutputStyle::dumpNameMap() {}

void BytesOutputStyle::dumpBlockRanges(uint32_t Min, uint32_t Max) {}

void BytesOutputStyle::dumpSectionContributions() {}

void BytesOutputStyle::dumpSectionMap() {}

void BytesOutputStyle::dumpModuleInfos() {}

void BytesOutputStyle::dumpFileInfo() {}

void BytesOutputStyle::dumpTypeServerMap() {}

void BytesOutputStyle::dumpECData() {}

void BytesOutputStyle::dumpTypeIndex(uint32_t StreamIdx,
                                     ArrayRef<uint32_t> Indices) {}

template <typename CallbackT>
static void iterateOneModule(PDBFile &File, LinePrinter &P,
                             const DbiModuleList &Modules, uint32_t I,
                             uint32_t Digits, uint32_t IndentLevel,
                             CallbackT Callback) {}

template <typename CallbackT>
static void iterateModules(PDBFile &File, LinePrinter &P, uint32_t IndentLevel,
                           CallbackT Callback) {}

void BytesOutputStyle::dumpModuleSyms() {}

void BytesOutputStyle::dumpModuleC11() {}

void BytesOutputStyle::dumpModuleC13() {}

void BytesOutputStyle::dumpByteRanges(uint32_t Min, uint32_t Max) {}

Expected<codeview::LazyRandomTypeCollection &>
BytesOutputStyle::initializeTypes(uint32_t StreamIdx) {}

void BytesOutputStyle::dumpFpm() {}

void BytesOutputStyle::dumpStreamBytes() {}