summaryrefslogtreecommitdiff
path: root/tools/llvm-pdbutil/Diff.h
blob: 6037576e21bb66912f0f4f658ab16acd4e17a264 (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
40
41
42
43
44
45
//===- Diff.h - PDB diff utility --------------------------------*- 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_DIFF_H
#define LLVM_TOOLS_LLVMPDBDUMP_DIFF_H

#include "OutputStyle.h"

namespace llvm {
namespace pdb {
class PDBFile;
class DiffStyle : public OutputStyle {
public:
  explicit DiffStyle(PDBFile &File1, PDBFile &File2);

  Error dump() override;

private:
  Error diffSuperBlock();
  Error diffStreamDirectory();
  Error diffStringTable();
  Error diffFreePageMap();
  Error diffInfoStream();
  Error diffDbiStream();
  Error diffSectionContribs();
  Error diffSectionMap();
  Error diffFpoStream();
  Error diffTpiStream(int Index);
  Error diffModuleInfoStream(int Index);
  Error diffPublics();
  Error diffGlobals();

  PDBFile &File1;
  PDBFile &File2;
};
}
}

#endif