#include "StreamUtil.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
#include "llvm/DebugInfo/PDB/Native/DbiModuleList.h"
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
#include "llvm/DebugInfo/PDB/Native/FormatUtil.h"
#include "llvm/DebugInfo/PDB/Native/InfoStream.h"
#include "llvm/DebugInfo/PDB/Native/PDBFile.h"
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
usingnamespacellvm;
usingnamespacellvm::pdb;
std::string StreamInfo::getLongName() const { … }
StreamInfo StreamInfo::createStream(StreamPurpose Purpose, StringRef Name,
uint32_t StreamIndex) { … }
StreamInfo StreamInfo::createModuleStream(StringRef Module,
uint32_t StreamIndex, uint32_t Modi) { … }
static inline StreamInfo stream(StreamPurpose Purpose, StringRef Label,
uint32_t Idx) { … }
static inline StreamInfo moduleStream(StringRef Label, uint32_t StreamIdx,
uint32_t Modi) { … }
struct IndexedModuleDescriptor { … };
void llvm::pdb::discoverStreamPurposes(PDBFile &File,
SmallVectorImpl<StreamInfo> &Streams) { … }