summaryrefslogtreecommitdiff
path: root/tools/llvm-pdbutil/StreamUtil.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-07-13 19:25:18 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-07-13 19:25:18 +0000
commitca089b24d48ef6fa8da2d0bb8c25bb802c4a95c0 (patch)
tree3a28a772df9b17aef34f49e3c727965ad28c0c93 /tools/llvm-pdbutil/StreamUtil.h
parent9df3605dea17e84f8183581f6103bd0c79e2a606 (diff)
Notes
Diffstat (limited to 'tools/llvm-pdbutil/StreamUtil.h')
-rw-r--r--tools/llvm-pdbutil/StreamUtil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/llvm-pdbutil/StreamUtil.h b/tools/llvm-pdbutil/StreamUtil.h
index b5c0beba44fed..f49c0a0eceb66 100644
--- a/tools/llvm-pdbutil/StreamUtil.h
+++ b/tools/llvm-pdbutil/StreamUtil.h
@@ -17,8 +17,13 @@
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);
}
}