diff options
author | Zachary Turner <zturner@google.com> | 2017-06-09 20:46:17 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-06-09 20:46:17 +0000 |
commit | bd336e44d8ab60e0c1d7ef7703ba0ff5c51e43b5 (patch) | |
tree | f5e0c55de301a14315293533cd49afb31999d838 /llvm/tools/llvm-pdbutil/Diff.h | |
parent | e22b6969363d78bb2fb2d3c0778c2dbbcfaabcde (diff) | |
download | bcm5719-llvm-bd336e44d8ab60e0c1d7ef7703ba0ff5c51e43b5.tar.gz bcm5719-llvm-bd336e44d8ab60e0c1d7ef7703ba0ff5c51e43b5.zip |
Rename llvm-pdbdump -> llvm-pdbutil.
This is to reflect the evolving nature of the tool as being
useful for more than just dumping PDBs, as it can do many other
things.
Differential Revision: https://reviews.llvm.org/D34062
llvm-svn: 305106
Diffstat (limited to 'llvm/tools/llvm-pdbutil/Diff.h')
-rw-r--r-- | llvm/tools/llvm-pdbutil/Diff.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/llvm/tools/llvm-pdbutil/Diff.h b/llvm/tools/llvm-pdbutil/Diff.h new file mode 100644 index 00000000000..6037576e21b --- /dev/null +++ b/llvm/tools/llvm-pdbutil/Diff.h @@ -0,0 +1,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 |