aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-pdbutil/StreamUtil.h
diff options
context:
space:
mode:
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 b5c0beba44fe..f49c0a0eceb6 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);
}
}