summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-pdbdump/OutputStyle.h
blob: c42f7d2100201de764f0b46713251a764af15598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//===- 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;
};
}
}

#endif
OpenPOWER on IntegriCloud