mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 06:06:19 +00:00
61e0e2783c
This is the simplest possible patch to get some kind of YAML output. All it dumps is the MSF header fields so that in theory an empty MSF file could be reconstructed. Reviewed By: ruiu, majnemer Differential Revision: http://reviews.llvm.org/D20971 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271939 91177308-0d34-0410-b5e6-96231b3b80d8
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
//===- OutputStyle.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_OUTPUTSTYLE_H
|
|
#define LLVM_TOOLS_LLVMPDBDUMP_OUTPUTSTYLE_H
|
|
|
|
#include "llvm/Support/Error.h"
|
|
|
|
namespace llvm {
|
|
namespace pdb {
|
|
class PDBFile;
|
|
|
|
class OutputStyle {
|
|
public:
|
|
virtual ~OutputStyle() {}
|
|
virtual Error dumpFileHeaders() = 0;
|
|
virtual Error dumpStreamSummary() = 0;
|
|
virtual Error dumpStreamBlocks() = 0;
|
|
virtual Error dumpStreamData() = 0;
|
|
virtual Error dumpInfoStream() = 0;
|
|
virtual Error dumpNamedStream() = 0;
|
|
virtual Error dumpTpiStream(uint32_t StreamIdx) = 0;
|
|
virtual Error dumpDbiStream() = 0;
|
|
virtual Error dumpSectionContribs() = 0;
|
|
virtual Error dumpSectionMap() = 0;
|
|
virtual Error dumpPublicsStream() = 0;
|
|
virtual Error dumpSectionHeaders() = 0;
|
|
virtual Error dumpFpoStream() = 0;
|
|
|
|
virtual void flush() = 0;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|