diff options
Diffstat (limited to 'contrib/llvm/tools/llvm-pdbutil/StreamUtil.h')
-rw-r--r-- | contrib/llvm/tools/llvm-pdbutil/StreamUtil.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/llvm/tools/llvm-pdbutil/StreamUtil.h b/contrib/llvm/tools/llvm-pdbutil/StreamUtil.h new file mode 100644 index 0000000..f49c0a0 --- /dev/null +++ b/contrib/llvm/tools/llvm-pdbutil/StreamUtil.h @@ -0,0 +1,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 |