mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 12:30:57 +00:00
435ba4ae28
For now this only diffs the stream directory and the MSF Superblock. Future patches will drill down into individual streams to find out where the differences lie. Differential Revision: https://reviews.llvm.org/D30908 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297689 91177308-0d34-0410-b5e6-96231b3b80d8
46 lines
1.0 KiB
C++
46 lines
1.0 KiB
C++
//===- 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
|