10 #ifndef LLVM_DEBUGINFO_PDB_RAW_DBIMODULEDESCRIPTORBUILDER_H
11 #define LLVM_DEBUGINFO_PDB_RAW_DBIMODULEDESCRIPTORBUILDER_H
26 class BinaryStreamWriter;
29 class DebugSubsectionRecordBuilder;
83 uint32_t calculateC13DebugInfoSize()
const;
90 std::string ModuleName;
91 std::string ObjFileName;
92 std::vector<std::string> SourceFiles;
93 std::vector<codeview::CVSymbol> Symbols;
95 std::vector<std::unique_ptr<codeview::DebugSubsectionRecordBuilder>>
105 #endif // LLVM_DEBUGINFO_PDB_RAW_DBIMODULEDESCRIPTORBUILDER_H
DbiModuleDescriptorBuilder(StringRef ModuleName, uint32_t ModIndex, msf::MSFBuilder &Msf)
Error commit(BinaryStreamWriter &ModiWriter, const msf::MSFLayout &MsfLayout, WritableBinaryStreamRef MsfBuffer)
uint16_t getStreamIndex() const
unsigned getModuleIndex() const
~DbiModuleDescriptorBuilder()
DbiModuleDescriptorBuilder & operator=(const DbiModuleDescriptorBuilder &)=delete
Error finalizeMsfLayout()
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
void setObjFileName(StringRef Name)
StringRef getObjFileName() const
Provides write only access to a subclass of WritableBinaryStream.
void addSymbol(codeview::CVSymbol Symbol)
StringRef getModuleName() const
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
void setPdbFilePathNI(uint32_t NI)
uint32_t calculateSerializedLength() const
uint32_t getNextSymbolOffset() const
Return the offset within the module symbol stream of the next symbol record passed to addSymbol...
void addDebugSubsection(std::shared_ptr< codeview::DebugSubsection > Subsection)
ArrayRef< std::string > source_files() const