mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
bef0faee96
This introduces the `analyze` subcommand. For now there is only one option, to analyze hash collisions in the type streams. In the future, however, we could add many more things here, such as performing size analyses, compacting, and statistics about the type of records etc. llvm-svn: 293795
31 lines
661 B
C++
31 lines
661 B
C++
//===- Analyze.h - PDB analysis functions -----------------------*- 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_ANALYSIS_H
|
|
#define LLVM_TOOLS_LLVMPDBDUMP_ANALYSIS_H
|
|
|
|
#include "OutputStyle.h"
|
|
|
|
namespace llvm {
|
|
namespace pdb {
|
|
class PDBFile;
|
|
class AnalysisStyle : public OutputStyle {
|
|
public:
|
|
explicit AnalysisStyle(PDBFile &File);
|
|
|
|
Error dump() override;
|
|
|
|
private:
|
|
PDBFile &File;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|