1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/tools/llvm-pdbdump/LLVMOutputStyle.h

49 lines
1.3 KiB
C
Raw Normal View History

//===- LLVMOutputStyle.h -------------------------------------- *- C++ --*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TOOLS_LLVMPDBDUMP_LLVMOUTPUTSTYLE_H
#define LLVM_TOOLS_LLVMPDBDUMP_LLVMOUTPUTSTYLE_H
#include "OutputStyle.h"
#include "llvm/DebugInfo/CodeView/TypeDumper.h"
#include "llvm/Support/ScopedPrinter.h"
namespace llvm {
namespace pdb {
class LLVMOutputStyle : public OutputStyle {
public:
LLVMOutputStyle(PDBFile &File);
Error dumpFileHeaders() override;
Error dumpStreamSummary() override;
Error dumpStreamBlocks() override;
Error dumpStreamData() override;
Error dumpInfoStream() override;
Error dumpNamedStream() override;
Error dumpTpiStream(uint32_t StreamIdx) override;
Error dumpDbiStream() override;
Error dumpSectionContribs() override;
Error dumpSectionMap() override;
Error dumpPublicsStream() override;
Error dumpSectionHeaders() override;
Error dumpFpoStream() override;
void flush() override;
private:
PDBFile &File;
ScopedPrinter P;
codeview::CVTypeDumper TD;
};
}
}
#endif