17#include "llvm/ADT/StringRef.h"
18#include "llvm/Support/Compiler.h"
19#include "llvm/Support/raw_ostream.h"
22using namespace serialization;
23using namespace reader;
31template<
typename Key,
typename Offset,
unsigned InitialCapacity>
40 llvm::errs() <<
" " << Name <<
":\n";
41 for (
typename MapType::const_iterator I = Map.
begin(), IEnd = Map.
end();
43 llvm::errs() <<
" " << I->first <<
" -> " << I->second <<
"\n";
48 llvm::errs() <<
"\nModule: " <<
FileName <<
"\n";
50 llvm::errs() <<
" Imports: ";
51 for (
unsigned I = 0, N =
Imports.size(); I != N; ++I) {
54 llvm::errs() <<
Imports[I]->FileName;
66 llvm::errs() <<
" Base macro ID: " <<
BaseMacroID <<
'\n'
80 <<
" Number of preprocessed entities: "
static void dumpLocalRemap(StringRef Name, const ContinuousRangeMap< Key, Offset, InitialCapacity > &Map)
A map from continuous integer ranges to some value, with a very specialized interface.
void * IdentifierLookupTable
A pointer to an on-disk hash table of opaque type IdentifierHashTable.
void * SelectorLookupTable
A pointer to an on-disk hash table of opaque type ASTSelectorLookupTable.
ContinuousRangeMap< uint32_t, int, 2 > PreprocessedEntityRemap
Remapping table for preprocessed entity IDs in this module.
serialization::IdentifierID BaseIdentifierID
Base identifier ID for identifiers local to this module.
serialization::PreprocessedEntityID BasePreprocessedEntityID
Base preprocessed entity ID for preprocessed entities local to this module.
serialization::TypeID BaseTypeIndex
Base type ID for types local to this module as represented in the global type ID space.
unsigned LocalNumIdentifiers
The number of identifiers in this AST file.
serialization::SelectorID BaseSelectorID
Base selector ID for selectors local to this module.
unsigned LocalNumSubmodules
The number of submodules in this module.
unsigned NumPreprocessedEntities
unsigned BaseDeclIndex
Base declaration index in ASTReader for declarations local to this module.
void * HeaderFileInfoTable
The on-disk hash table that contains information about each of the header files.
serialization::SubmoduleID BaseSubmoduleID
Base submodule ID for submodules local to this module.
unsigned LocalNumTypes
The number of types in this AST file.
std::string FileName
The file name of the module file.
llvm::SetVector< ModuleFile * > Imports
List of modules which this module directly imported.
SourceLocation::UIntTy SLocEntryBaseOffset
The base offset in the source manager's view of this module.
unsigned LocalNumMacros
The number of macros in this AST file.
void dump()
Dump debugging output for this module.
unsigned LocalNumDecls
The number of declarations in this AST file.
ContinuousRangeMap< uint32_t, int, 2 > SelectorRemap
Remapping table for selector IDs in this module.
ContinuousRangeMap< uint32_t, int, 2 > MacroRemap
Remapping table for macro IDs in this module.
ContinuousRangeMap< uint32_t, int, 2 > SubmoduleRemap
Remapping table for submodule IDs in this module.
unsigned LocalNumSelectors
The number of selectors new to this file.
serialization::MacroID BaseMacroID
Base macro ID for macros local to this module.
llvm::OnDiskChainedHashTable< HeaderFileInfoTrait > HeaderFileInfoLookupTable
The on-disk hash table used for known header files.
llvm::OnDiskIterableChainedHashTable< ASTIdentifierLookupTrait > ASTIdentifierLookupTable
The on-disk hash table used to contain information about all of the identifiers in the program.
llvm::OnDiskChainedHashTable< ASTSelectorLookupTrait > ASTSelectorLookupTable
The on-disk hash table used for the global method pool.
The JSON file list parser is used to communicate input to InstallAPI.