diff options
Diffstat (limited to 'llvm/tools/llvm-pdbutil/StreamUtil.h')
-rw-r--r-- | llvm/tools/llvm-pdbutil/StreamUtil.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/tools/llvm-pdbutil/StreamUtil.h b/llvm/tools/llvm-pdbutil/StreamUtil.h index cc143f95f6d..f49c0a0eceb 100644 --- a/llvm/tools/llvm-pdbutil/StreamUtil.h +++ b/llvm/tools/llvm-pdbutil/StreamUtil.h @@ -17,9 +17,13 @@ namespace llvm { namespace pdb { class PDBFile; +enum class StreamPurpose { NamedStream, ModuleStream, Other }; + void discoverStreamPurposes(PDBFile &File, - SmallVectorImpl<std::string> &Purposes, - uint32_t MaxLen = 0); + SmallVectorImpl<std::string> &Purposes); +void discoverStreamPurposes( + PDBFile &File, + SmallVectorImpl<std::pair<StreamPurpose, std::string>> &Purposes); } } |