summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h')
-rw-r--r--contrib/llvm/include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm/include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h b/contrib/llvm/include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h
index bf49bfd..f5244ac 100644
--- a/contrib/llvm/include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h
+++ b/contrib/llvm/include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h
@@ -17,6 +17,9 @@
#include <memory>
namespace llvm {
+namespace msf {
+class StreamWriter;
+}
namespace pdb {
class NameMap;
@@ -27,6 +30,7 @@ public:
void addMapping(StringRef Name, uint32_t Mapping);
Expected<std::unique_ptr<NameMap>> build();
+ Error commit(msf::StreamWriter &Writer) const;
uint32_t calculateSerializedLength() const;
OpenPOWER on IntegriCloud