diff options
Diffstat (limited to 'include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h')
| -rw-r--r-- | include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h b/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h index e4cb1b24e30d..c918a5d5e976 100644 --- a/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h +++ b/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h @@ -47,6 +47,7 @@ public:    DbiModuleDescriptorBuilder &    operator=(const DbiModuleDescriptorBuilder &) = delete; +  void setPdbFilePathNI(uint32_t NI);    void setObjFileName(StringRef Name);    void addSymbol(codeview::CVSymbol Symbol); @@ -68,6 +69,10 @@ public:    uint32_t calculateSerializedLength() const; +  /// Return the offset within the module symbol stream of the next symbol +  /// record passed to addSymbol. Add four to account for the signature. +  uint32_t getNextSymbolOffset() const { return SymbolByteSize + 4; } +    void finalize();    Error finalizeMsfLayout(); @@ -81,6 +86,7 @@ private:    msf::MSFBuilder &MSF;    uint32_t SymbolByteSize = 0; +  uint32_t PdbFilePathNI = 0;    std::string ModuleName;    std::string ObjFileName;    std::vector<std::string> SourceFiles;  | 
