blob: f49c0a0eceb667d0a3dcd53031dd04f52d46dc56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//===- Streamutil.h - PDB stream utilities ----------------------*- 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_STREAMUTIL_H
#define LLVM_TOOLS_LLVMPDBDUMP_STREAMUTIL_H
#include "llvm/ADT/SmallVector.h"
#include <string>
namespace llvm {
namespace pdb {
class PDBFile;
enum class StreamPurpose { NamedStream, ModuleStream, Other };
void discoverStreamPurposes(PDBFile &File,
SmallVectorImpl<std::string> &Purposes);
void discoverStreamPurposes(
PDBFile &File,
SmallVectorImpl<std::pair<StreamPurpose, std::string>> &Purposes);
}
}
#endif
|