2015-02-23 06:03:38 +08:00
|
|
|
//===- llvm-pdbdump.h ----------------------------------------- *- 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_LLVMPDBDUMP_H
|
|
|
|
#define LLVM_TOOLS_LLVMPDBDUMP_LLVMPDBDUMP_H
|
|
|
|
|
2015-03-02 12:39:56 +08:00
|
|
|
#include "llvm/Support/CommandLine.h"
|
2015-02-23 06:03:38 +08:00
|
|
|
#include "llvm/Support/raw_ostream.h"
|
|
|
|
|
2015-03-02 12:39:56 +08:00
|
|
|
namespace opts {
|
2016-06-04 03:28:33 +08:00
|
|
|
|
2016-07-01 01:42:48 +08:00
|
|
|
namespace pretty {
|
2015-03-02 12:39:56 +08:00
|
|
|
extern llvm::cl::opt<bool> Compilands;
|
|
|
|
extern llvm::cl::opt<bool> Symbols;
|
|
|
|
extern llvm::cl::opt<bool> Globals;
|
|
|
|
extern llvm::cl::opt<bool> Types;
|
|
|
|
extern llvm::cl::opt<bool> All;
|
2016-07-01 01:42:48 +08:00
|
|
|
extern llvm::cl::opt<bool> ExcludeCompilerGenerated;
|
|
|
|
|
|
|
|
extern llvm::cl::opt<bool> NoClassDefs;
|
|
|
|
extern llvm::cl::opt<bool> NoEnumDefs;
|
|
|
|
extern llvm::cl::list<std::string> ExcludeTypes;
|
|
|
|
extern llvm::cl::list<std::string> ExcludeSymbols;
|
|
|
|
extern llvm::cl::list<std::string> ExcludeCompilands;
|
|
|
|
extern llvm::cl::list<std::string> IncludeTypes;
|
|
|
|
extern llvm::cl::list<std::string> IncludeSymbols;
|
|
|
|
extern llvm::cl::list<std::string> IncludeCompilands;
|
|
|
|
}
|
2015-02-23 06:03:38 +08:00
|
|
|
|
2016-07-01 01:42:48 +08:00
|
|
|
namespace raw {
|
2016-06-04 03:28:33 +08:00
|
|
|
extern llvm::cl::opt<bool> DumpHeaders;
|
|
|
|
extern llvm::cl::opt<bool> DumpStreamBlocks;
|
|
|
|
extern llvm::cl::opt<bool> DumpStreamSummary;
|
2016-06-04 04:48:51 +08:00
|
|
|
extern llvm::cl::opt<bool> DumpTpiHash;
|
2016-06-04 03:28:33 +08:00
|
|
|
extern llvm::cl::opt<bool> DumpTpiRecordBytes;
|
2016-06-04 04:48:51 +08:00
|
|
|
extern llvm::cl::opt<bool> DumpTpiRecords;
|
2016-06-04 03:28:33 +08:00
|
|
|
extern llvm::cl::opt<bool> DumpIpiRecords;
|
|
|
|
extern llvm::cl::opt<bool> DumpIpiRecordBytes;
|
|
|
|
extern llvm::cl::opt<std::string> DumpStreamDataIdx;
|
|
|
|
extern llvm::cl::opt<std::string> DumpStreamDataName;
|
|
|
|
extern llvm::cl::opt<bool> DumpModules;
|
|
|
|
extern llvm::cl::opt<bool> DumpModuleFiles;
|
|
|
|
extern llvm::cl::opt<bool> DumpModuleSyms;
|
|
|
|
extern llvm::cl::opt<bool> DumpPublics;
|
|
|
|
extern llvm::cl::opt<bool> DumpSectionContribs;
|
|
|
|
extern llvm::cl::opt<bool> DumpLineInfo;
|
|
|
|
extern llvm::cl::opt<bool> DumpSectionMap;
|
|
|
|
extern llvm::cl::opt<bool> DumpSymRecordBytes;
|
|
|
|
extern llvm::cl::opt<bool> DumpSectionHeaders;
|
2016-06-07 02:39:21 +08:00
|
|
|
extern llvm::cl::opt<bool> DumpFpo;
|
2016-07-01 01:42:48 +08:00
|
|
|
}
|
2016-06-04 03:28:33 +08:00
|
|
|
|
2016-07-01 01:42:48 +08:00
|
|
|
namespace pdb2yaml {
|
|
|
|
extern llvm::cl::opt<bool> StreamMetadata;
|
|
|
|
extern llvm::cl::opt<bool> StreamDirectory;
|
|
|
|
extern llvm::cl::list<std::string> InputFilename;
|
|
|
|
}
|
2015-02-23 06:03:38 +08:00
|
|
|
}
|
|
|
|
|
2016-05-14 05:21:53 +08:00
|
|
|
#endif
|