1 //===- Streamutil.h - PDB stream utilities ----------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_TOOLS_LLVMPDBDUMP_STREAMUTIL_H
11 #define LLVM_TOOLS_LLVMPDBDUMP_STREAMUTIL_H
13 #include "llvm/ADT/SmallVector.h"
20 enum class StreamPurpose { NamedStream, ModuleStream, Other };
22 void discoverStreamPurposes(PDBFile &File,
23 SmallVectorImpl<std::string> &Purposes);
24 void discoverStreamPurposes(
26 SmallVectorImpl<std::pair<StreamPurpose, std::string>> &Purposes);