Zachary Turner | 6ac232c | 2017-03-13 23:28:25 +0000 | [diff] [blame] | 1 | //===- Diff.h - PDB diff utility --------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef LLVM_TOOLS_LLVMPDBDUMP_DIFF_H |
| 11 | #define LLVM_TOOLS_LLVMPDBDUMP_DIFF_H |
| 12 | |
| 13 | #include "OutputStyle.h" |
| 14 | |
| 15 | namespace llvm { |
| 16 | namespace pdb { |
| 17 | class PDBFile; |
| 18 | class DiffStyle : public OutputStyle { |
| 19 | public: |
| 20 | explicit DiffStyle(PDBFile &File1, PDBFile &File2); |
| 21 | |
| 22 | Error dump() override; |
| 23 | |
| 24 | private: |
| 25 | Error diffSuperBlock(); |
| 26 | Error diffStreamDirectory(); |
| 27 | Error diffStringTable(); |
| 28 | Error diffFreePageMap(); |
| 29 | Error diffInfoStream(); |
| 30 | Error diffDbiStream(); |
| 31 | Error diffSectionContribs(); |
| 32 | Error diffSectionMap(); |
| 33 | Error diffFpoStream(); |
| 34 | Error diffTpiStream(int Index); |
| 35 | Error diffModuleInfoStream(int Index); |
| 36 | Error diffPublics(); |
| 37 | Error diffGlobals(); |
| 38 | |
| 39 | PDBFile &File1; |
| 40 | PDBFile &File2; |
| 41 | }; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | #endif |